get_multimodal_message
Function
This function is defined in the agents module.Build multimodal message content for LLM with text and images. DRY helper - replaces duplicate _get_multimodal_message in aexecute_task/execute_task.
Signature
Parameters
The text content of the message
List of image paths (local or URL)
Returns
List of content items for multimodal LLM message
Uses
existssplitextprocess_videoencode_file_to_base64ext.lstrip
Used By
Source
View on GitHub
praisonaiagents/agents/agents.py at line 66
