Issue: Tool is always called with a string parameter instead of Model despite using OPENAI_FUNCTIONS agent #8042
Labels
Ɑ: agent
Related to agents module
🤖:question
A specific question about the codebase, product, project, or how to use a feature
Issue you'd like to raise.
Hi,
I have defined an OPENAI_FUNCTIONS agent. I have created a tool from a function where I have defined a BaseModel as input parameter
my function foo is properly called when necessary, however the input is always a string whereas I would like a "FooInputModel". How can I achieve this ? And how can I see if the agent is actually using the functions calling from OpenAI because I have doubts it's working and when I print the agent I don't see any FunctionMessage in the history.
Thanks
Suggestion:
No response
The text was updated successfully, but these errors were encountered: