Hi team,
Following up to these two threads: Agent chat credit issue - #2 by MiguelOrtiz and Passing context to AI Agents in Apps (similar to what is done in Cursor)
I kind of realized yesterday that the agent chat component is somehow designed to re-trigger the linked query until it gets the results.
I guess another way of approaching the challenge of passing context from apps to agents would be to enable the option to link 2 queries, one for invoke and for getLogs. As such, we could then manipulate the invoke query and pass in additional context from the apps.
I'm aware Kent already suggested this other solution, but just wanted to share my thoughts in case it helps.