[Bug]: Getting "KeyError('messages')" when calling agent completions HTTP API #3413
Open
1 task done
Labels
bug
Something isn't working
Is there an existing issue for the same bug?
Branch name
main
Commit ID
df9d054
Other environment information
No response
Actual behavior
Can't use agents via api, since the completions api always return the following error:
By looking at the session.py code, I noticed that the session gets created with a 'message' field instead of a'messages' one. This may be the reason of the issue.
Expected behavior
Generate response from agent via HTTP API
Steps to reproduce
The text was updated successfully, but these errors were encountered: