Repository navigation
Changes
OpenAI's gpt-6 models refuse function tools on Chat Completions, so any agent or tool call on them failed with a 400. The OpenAI drivers now pick the right API for the model on their own.
Highlights
- Tool calls on gpt-6 models (Astra, Sol, Luna) work again. gpt-6 and later go over the Responses API by default, and older models stay on Chat Completions.
- Passing
api=to the OpenAI drivers still picks the API explicitly. - After each release,
mainis merged back intodev, sodevno longer falls behind the latest version.
Technical changes
OpenAIDriver/AsyncOpenAIDriver:apidefaults toNoneand resolves through the newdefault_openai_api(model). It reads the GPT generation from the model name (the same regex as the tokens-param guess), and N >= 6 meansresponses. An unknownapistill raisesValueError. (#123)reasoning_effort="none"is no workaround: gpt-6-astra and gpt-6.1-sol only acceptlow/medium/high/xhigh.publish.yml: newsync-devjob afterreleasefast-forwards (or merges)devtomainand pushes withGITHUB_TOKEN, so no dev build is triggered. (#124)- Tests:
TestDefaultApiintests/test_openai_responses.py.