async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

Add default value for some response struct

Open joshuawm opened this issue 4 months ago • 0 comments

Some OpenAI Compatible providers return completions without object field which causes the error. So add default value for CreateChatCompletionResponse, CreateCompletionResponse,GeminiCreateChatCompletionResponse.

joshuawm avatar Jul 09 '25 02:07 joshuawm