Skip to content

Conversation

@joshuawm
Copy link

@joshuawm joshuawm commented Jul 9, 2025

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

@64bit
Copy link
Owner

64bit commented Nov 21, 2025

Thanks for PR, its good to have but dont mind having it as String to be flexible with openai compatible providers

@64bit 64bit closed this Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants