Open MANISH007700 opened 1 week ago
@MANISH007700 that is a great catch! Please feel free to take this up. I look forward to reviewing your PR! Thank you!
@ysolanky can you check this issue first - Viz Model Hallucination I'll push the new code after this issue is resolved.
Thanks
Description
Currently, the method
add_images_to_message_content
supports adding images to message content through URLs.The goal is to make it easier to directly pass base64-encoded image strings as input without requiring prior manual validation or transformations. This would streamline workflows for users who already work with base64 images in their pipelines.
Proposed Changes Update the
agent.print_response
functionality to explicitly accept and processbase64-encoded image strings
. Modify the logic inadd_images_to_message_content
to prioritize and validate base64 strings more robustly.PREVIEW CODE
Lmk if you want me to pick this up and will get it done.
cc : @manthanguptaa @ashpreetbedi