Open
Description
Description
Calling the method submitStreamingToolOutput
crashes with following error at Serialization level:
java.lang.IllegalStateException: Serializing collections of different element types is not yet supported. Selected serializers: [kotlin.collections.ArrayList, kotlin.Boolean]
Steps to Reproduce
Just compute tool outputs locally and submit the streamed result with Runs.submitStreamingToolOutput
That makes the kotlinx.serialization library to complain with the IllegalStateException mentioned before
Environment
- openai-kotlin version: 4.0.1
- Kotlin version: 2.1.10
- OS: Mac
Additional Info
There's also an open issue in YouTrack for the root cause
Metadata
Metadata
Assignees
Labels
No labels