functionResponse: Unable to submit request because it must have a text parameter. #316
Labels
component:js sdk
Issue/PR related to JavaScript SDK
status:triaged
Issue/PR triaged to the corresponding sub-team
type:bug
Something isn't working
Description of the bug:
According to the documentation the results to the tool function calls should be submitted with the functionResponse, where response is a json object.
Here name is a valid string, and "output" is obviously a valid string. Therefore, I assume, this is a bug.
I have extensively looked up all documentation, examples, and this should work, .... but I'm unable to send back any results to the model.
I have tried this within the response stream, and also by collecting all results and sending them once the stream completed.
The text was updated successfully, but these errors were encountered: