gh-aw icon indicating copy to clipboard operation
gh-aw copied to clipboard

[aw] Claude Sonnet 5.5 Fails in GitHub Agentic Workflows Despite Organisation Enablement

Open vvukyarsk opened this issue 1 month ago • 5 comments

Claude Sonnet 5.5 is enabled for my account by my organization, but I am unable to use it in GitHub Agentic Workflows. The error I get is: 400 The requested model is not supported.

vvukyarsk avatar Oct 21 '26 14:10 vvukyarsk

The agent encountered an error and was unable to start working on this issue: The service is temporarily unavailable. Please try again later. (Request id: DBA7:2B6C61:2E2D8E:5ED519:6ADA4BFD)

Copilot avatar Oct 22 '26 17:10 Copilot

Also related https://github.com/github/gh-aw/issues/72353

It turned out the only models the actions workflow sees is the ones that are explicitly enabled. We had some models set to "Default policy applies" but none of those are picked up when gh aw does auto model selection or even when you explicitly override the model using GH_AW_MODEL_AGENT_COPILOT and GH_AW_MODEL_DETECTION_COPILOT. What made it work is to remove the "Default policy applies" and explicitly enable the model. Once that is done, the explicit selection through the environment variables or auto mode start working again.

Our org has the default set to Enabled and for example GPT 6 Luna was set to Delegate to Default Policy.

From one of our private repos:

[copilot-harness] model resolution: engine=copilot role=main configured=gpt-6-luna resolved=gpt-6-luna provider=(unscoped) status=exact
400 The requested model is not supported.

when we then set GPT 6 Luna to Enabled instead of Delegate to Default Policy:

[copilot-harness] model resolution: engine=copilot role=main configured=gpt-6-luna resolved=gpt-6-luna provider=(unscoped) status=exact

notice no 400 The requested model is not supported.

danielmarbach avatar Nov 03 '26 17:11 danielmarbach

Another data point: in our org the "explicitly enable" workaround above does not help.

  • In org Copilot → Policies → Models (managed by our enterprise), every model is set explicitly. None is on "Delegate to Default Policy". Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, GPT-6 Astra/Luna/Sol and GPT-6.1 Sol/Terra are all explicitly Enabled.
  • Our seats use those models every day.
  • A gh-aw workflow (v0.93.5, pi engine, features: copilot-requests: true, copilot-requests: write, run 2026-11-03) is still offered only this, from sandbox/firewall/logs/api-proxy-logs/models.json in the run's agent artifact: claude-haiku-4.5, claude-opus-4.8, claude-opus-5, claude-sonnet-5, gpt-5.3-codex, gpt-5.6-luna, gpt-5.6-luna-utility, gpt-5.6-sol, gpt-5.6-terra and the old gpt-4* family.
  • copilot/claude-opus-5.5 fails at startup with "not advertised by the configured copilot proxy endpoint".

So for us, the workflow catalog isn't filtered by org policy. It's a separate, older list. #72488 asked about this and was closed with docs ("can differ by organization and lag the models available to that organization's Copilot seats"), while gh-aw's own repository is offered the 5.5 models.

Could someone on the Copilot side say what decides an org's agentic-workflows catalog (plan, rollout stage, something else), and whether an org can do anything to get the models its seats already have?

ekbritecore avatar Nov 03 '26 19:11 ekbritecore

Correction to my comment above: the "explicitly enable" workaround does work for us. We had checked the wrong level.

What we saw: our org's model settings (org Copilot → Policies → Models) showed Claude 5.5, GPT-6 and GPT-6.1 as explicitly Enabled, but gh-aw workflows were still offered only the older models.

What fixed it: our org is owned by an enterprise, and the setting that counts for workflows is the enterprise's (Enterprise → AI controls → Copilot → Configure models). There, those models had no explicit setting; they reached our seats only through default availability, which workflow requests (made as the organization with GITHUB_TOKEN) don't get. After setting them explicitly to Enabled at the enterprise level, the next workflow run (gh-aw v1.2.0, pi engine) was offered claude-opus-5.5, claude-sonnet-5.5, claude-haiku-5.5, gpt-6-astra/luna/sol, gpt-6.1-sol/terra and grok-4.6/4.7.

If your org is part of an enterprise and the org page already says Enabled, check the enterprise's model settings.

ekbritecore avatar Nov 06 '26 01:11 ekbritecore

@SivaKesava1

pelikhan avatar Nov 06 '26 07:11 pelikhan