From e738c7435609c4af4b362e9d6dd7ee0db79f41ad Mon Sep 17 00:00:00 2001 From: Manoj Prabhakar Paidiparthy Date: Wed, 27 May 2026 21:21:07 -0700 Subject: [PATCH] fix(catalog): default openai to gpt-5.5 (matches bundle's extended_thinking=true) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bundle defaults extended_thinking: true on every turn, which triggers the provider to inject reasoning.effort: 'high' on the OpenAI request. The old catalog default (gpt-4o) doesn't support reasoning, causing an OpenAI 400 error immediately on every chat turn. This fix aligns the catalog's model selection with the bundle's expectations: gpt-5.5 is reasoning-capable and matches the extended_thinking parameter the bundle requests. Consumers can override via bundle config if needed. Note: The architecturally correct long-term fix belongs in the OpenAI provider (gate the extended_thinking → reasoning.effort injection on model capability). This PR is the immediate unblock for amplifier-agent users while that fix propagates. Generated with [Amplifier](https://github.com/microsoft/amplifier) Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com> --- src/amplifier_agent_cli/provider_sources.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/amplifier_agent_cli/provider_sources.py b/src/amplifier_agent_cli/provider_sources.py index a8505624..c3f19252 100644 --- a/src/amplifier_agent_cli/provider_sources.py +++ b/src/amplifier_agent_cli/provider_sources.py @@ -60,7 +60,11 @@ class _CatalogEntry(TypedDict): "module": "provider-openai", "source": "git+https://github.com/microsoft/amplifier-module-provider-openai@main", "env_var": "OPENAI_API_KEY", - "default_model": "gpt-4o", + # gpt-5.5 chosen so the bundle's default `extended_thinking: true` lands + # on a model that actually accepts the resulting `reasoning.effort` + # parameter. With gpt-4o (non-reasoning), the OpenAI API 400s on every + # turn out of the box. Consumers can override via bundle config. + "default_model": "gpt-5.5", }, "azure-openai": { "module": "provider-azure-openai",