I need to get some values from the tool function for debugging. These values are set during the tool execution.
I have tried run_context.metadata. But it is not returned in the RunOutput.
What are other options?
I need to get some values from the tool function for debugging. These values are set during the tool execution.
I have tried run_context.metadata. But it is not returned in the RunOutput.
What are other options?
Hi @rvm_1, thank you for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all queries one by one and will get back to you soon. If it’s urgent, please let us know. We appreciate your patience!
@yuvi Hi, Any updates?
Hi @rvm_1
Do you mean values that are set inside the function call itself?
You could look at Custom Events?
are’t events only applicable when streaming is True?
Ah my mistake, I didn’t know you aren’t in a streaming scenario. In that case you can update session_state on the run context, which would persist to the session. This isn’t a perfect solution for your problem though, so we’ll work on improving this
Yes, I went with session_state. thanks for reply.