openai-client
openai-client copied to clipboard
In ChatCompletionChunkResponse, can object be changed to Option?
https://github.com/tjardoo/openai-client/blob/5998f3b4589765bdf7003f5388fdf1091a70053d/openai_dive/src/v1/resources/chat.rs#L52
Some model responses do not fully comply with the OpenAI specification. For example, if this object is not returned, deserialization will fail. Can it be modified to be optional?
Yes