diff --git a/packages/shared/provider/constant.ts b/packages/shared/provider/constant.ts index fe47d6dcce..c449c9f635 100644 --- a/packages/shared/provider/constant.ts +++ b/packages/shared/provider/constant.ts @@ -18,7 +18,7 @@ export const COPILOT_DEFAULT_HEADERS = { } as const // Models that require the OpenAI Responses endpoint when routed through GitHub Copilot (#10560) -const COPILOT_RESPONSES_MODEL_IDS = ['gpt-5-codex'] +const COPILOT_RESPONSES_MODEL_IDS = ['gpt-5-codex', 'gpt-5.1-codex', 'gpt-5.1-codex-mini'] export function isCopilotResponsesModel(model: M): boolean { const normalizedId = getLowerBaseModelName(model.id)