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

chore(examples): bump module_client.py to gpt-5.5

Open lucky-verma opened this issue 6 months ago • 1 comments

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 typed Union[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.

lucky-verma avatar May 08 '26 09:05 lucky-verma

Makes sense to keep the module-client example on the current default model. If this is intended as a broadly reusable sample, it may be worth adding a tiny note that users should swap in their own model tier when they need different latency/cost tradeoffs.

DTiming24 avatar Jun 25 '26 19:06 DTiming24

bumped to gpt-5.6. PTAL

lucky-verma avatar Aug 04 '26 06:08 lucky-verma