What is the recommended way to add image to LLM chat history after calling a tool? #809
Unanswered
101scholar
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I don't think it's a right way to do it. Mainly:
I don't think we support blob as function response, maybe you can try base64 encoding ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If a tool calling returns an image instead of texts, how to add it properly to the chat history? My workaround is
Considering
_invocation_context
is an internal variable, I guess it is not the traditional way to do this. Then what is the recommended way for this purpose?Beta Was this translation helpful? Give feedback.
All reactions