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

Incorrect required 'logprobs' in CreateChatCompletionResponse

Open kalda341 opened this issue 8 months ago • 0 comments

The 'logprobs' property isn't present gpt-4.5-preview responses, but is marked as required in CreateChatCompletionResponse.

This is causing issues when using this model where schema validation is performed on the response, for example in https://github.com/Effect-TS/effect/issues/4617

kalda341 avatar Mar 23 '25 21:03 kalda341