chore(examples): bump module_client.py to gpt-5.5#3211
Open
lucky-verma wants to merge 1 commit intoopenai:nextfrom
Open
chore(examples): bump module_client.py to gpt-5.5#3211lucky-verma wants to merge 1 commit intoopenai:nextfrom
lucky-verma wants to merge 1 commit intoopenai:nextfrom
Conversation
b1a7dd9 to
f819b49
Compare
The module-level client example still uses bare gpt-4. gpt-5.5 is the
current default text and reasoning model per the openai-cookbook
("use gpt-5.5 for the strongest code review accuracy") and the
openai-agents-python docs (voice/quickstart.md, reasoning_content
example), and is documented as the latest default in
openai/codex's latest-model.md.
The model: parameter is typed Union[str, ChatModel] so this works
even though Stainless has not yet synced gpt-5.5 into the ChatModel
literal here. The example demonstrates module-level client
configuration, the model choice is incidental.
f819b49 to
e58f9ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
the module-level client example still uses bare
gpt-4. gpt-5.5 is the current default text and reasoning model per the openai-cookbook ("use gpt-5.5 for the strongest code review accuracy"), the openai-agents-python docs (voice/quickstart.md, reasoning_content example), and openai/codex's latest-model.md.model:is typedUnion[str, ChatModel]here so this works even though stainless has not yet synced gpt-5.5 into the ChatModel literal. the example demonstrates module-level client configuration, the model choice is incidental.ran ruff check + format, both clean. only the model string changed.