You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MCP] include assistant tool call before tool response + bug fix (#1618)
Fixes#1614.
Also, while experimenting with tiny-agents using OpenAI's gpt-4o, I
noticed that the assistant's tool call wasn t being appended to the
message list before the tool call result. This didn't cause issues
before, _likely_ because the models inferred the missing function call
context from the tool response. However, it seems that OpenAI is
stricter about message ordering and expect the assistant's tool call to
be explicitly in the conversation history.
Note: the fix is already implemented in Python tiny-agents :
huggingface/huggingface_hub#3159
0 commit comments