Can we upgrade the cookbook to using the latest open ai API? GPT-5 does not support the old API: client.chat.completions
We need to use something like this, with streaming:
await client.responses.create(
model="gpt-5-mini",
input=[{"role":"user","content":"Keep it brief. What’s SmartBids?"}],
reasoning={"effort": "minimal"}, # or: low | medium | high
verbosity="low" # Responses API only
)