-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I got error on createChatCompletionsStream.
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character ':' after top-level value around line 1, column 16." UserInfo={NSDebugDescription=Unexpected character ':' after top-level value around line 1, column 16., NSJSONSerializationErrorIndex=15})))
Sample data response
it seem the data is invalid
data: {"id":"chatcmpl-9lxsJJyn7dKbdXR6ZL0gKjmjata8b","object":"chat.completion.chunk","created":1721218603,"model":"gpt-3.5-turbo-0125","system_f
ecr007
Metadata
Metadata
Assignees
Labels
No labels