Defer tools to frontend #213
Unanswered
JonathanWebNL
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
The agent automatically recognize the tool call and process it on the fly: https://github.com/inspector-apm/neuron-ai/blob/main/src/Providers/OpenAI/HandleStream.php#L72 It should be added some sort of option to not move forward automatically, but return the ToolCallMessage as final response. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using neuron ai for a chat client where some tools should be executed in the frontend. Currently the tool is executed sync with the stream. Is it possible to pass the tool trough to the output stream so it can be handled in the frontend?
Currently this is possible with the OpenAI Assistant API, but I want to create a provider agnostic client.
Beta Was this translation helpful? Give feedback.
All reactions