Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/crash submiting streamed tool outputs #419

Conversation

davidgarciaanton
Copy link

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #418

Describe your change

Juse JsonObject instead of Map<String, Any> as body in the submit_tool_outputs streamed mode REQUEST

What problem is this fixing?

That's fixes a crash where kotlinx.serialization does not support heterogeneous data in a collection, throwing IllegalStateException

@davidgarciaanton davidgarciaanton deleted the fix/crash_submiting_streamed_tool_outputs branch February 11, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash using streamed API to submit tool outputs
1 participant