Skip to content

Fix crash in Streamed submit tools output #420

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

# for free to join this conversation on GitHub. Already have an account? # 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
2 participants