docs/how_to/merge_message_runs/ #31166
Replies: 1 comment
-
Some provider(e.g., Ollama and Qwen) returns error(invalid message format) for merged HumanMessage demonstrated in this article. I mean the below merged message.
However, GoogleGenerativeAI works well with that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docs/how_to/merge_message_runs/
Certain models do not support passing in consecutive messages of the same type (a.k.a. "runs" of the same message type).
https://python.langchain.com/docs/how_to/merge_message_runs/
Beta Was this translation helpful? Give feedback.
All reactions