Skip to content

Accept any logprobs in output_text input#25

Merged
Wauplin merged 1 commit intomainfrom
accept-any-logprobs
Aug 7, 2025
Merged

Accept any logprobs in output_text input#25
Wauplin merged 1 commit intomainfrom
accept-any-logprobs

Conversation

@Wauplin
Copy link
Copy Markdown
Collaborator

@Wauplin Wauplin commented Aug 7, 2025

Accept z.record(z.any()) instead of z.object({}). We won't check format for that as we don't use the values at all. Would still be good to check what is the data we should expect.

For the record, I could not find any mentions in the docs of passing an "output_text" object in the input list. I checked here: https://platform.openai.com/docs/api-reference/responses/create. However I'm pretty sure that at some point I saw something about it, otherwise I wouldn't have add it in the first place. Curious if it disappeared from the docs.

(follow-up of #21)

@Wauplin Wauplin merged commit e207b16 into main Aug 7, 2025
1 check passed
@Wauplin Wauplin deleted the accept-any-logprobs branch August 7, 2025 10:41
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.

1 participant