Can't seem to be able to call actions #5018
Replies: 5 comments 4 replies
-
@maxesse I've had some weird issues with this as well. Do you see Available Actions below the schema box after entering the schema? I've notice then that if I click Update in the action screen, the action works, but then if I save the agent, it stops working. Then if I just open the action and click Update again but don't save the agent the action still works. For debugging I just ask the agent "I'm doing some testing, can you make a markdown table with the tools you have available?" and it'll print everything out. I have a few different actions configured, and that helped me notice that saving the agent sometimes wipes out actions. I'd save and ask this and some of the actions would be missing, then go into that action, click update, and ask again, and the action would be back in the list. |
Beta Was this translation helpful? Give feedback.
-
Just tried what you said, and indeed it seems to lose the action when saving. |
Beta Was this translation helpful? Give feedback.
-
And indeed if I try a query after updating it works, then I save the agent and it forgets how to call the action. |
Beta Was this translation helpful? Give feedback.
-
Hi @maxesse following the thread, can you confirm the exact build you're on as well as provider/model combination? No amount/order of saving the Agent creates the issue for me: |
Beta Was this translation helpful? Give feedback.
-
Closed by #5020 |
Beta Was this translation helpful? Give feedback.
-
Hi there, I have an OpenAPI spec for Open meteo which i used successfully alongside other tools in the past as an openai assistant, it would retrieve the weather forecast and provide it to the user 100% of the time.
With agents, i tried in every possible way, from explaining how to call the tool, to being descriptive, but it just refuses to call that API. This happens with GPT-4o models. I am really not sure what else can I do to make it realise it's got that action available?
Replies range from 'give me the data and i'll give you the forecast', or if i am more descriptive on how to call the tool, it'll construct the URL so i can go fetch the forecast myself (lol).
This is the spec I'm passing to the actions:
Beta Was this translation helpful? Give feedback.
All reactions