openclaw - ✅(Solved) Fix GitHub Copilot provider catalog does not load GPT-5.5 capabilities from /models [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#71936Fetched 2026-04-27 05:37:09
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
closed ×1commented ×1cross-referenced ×1

Root Cause

But because the provider catalog does not ingest those fields, OpenClaw can treat the model as a generic synthetic Copilot model and show/use a much smaller effective context window.

Fix Action

Fixed

PR fix notes

PR #71924: fix: add GPT-5.5 capabilities to GitHub Copilot provider catalog

Description (problem / solution / changelog)

Summary

  • fetch GitHub Copilot /models during provider catalog discovery instead of publishing an empty model list
  • map Copilot capability limits into OpenClaw model metadata (contextWindow, maxTokens, input, reasoning, transport API)
  • make GPT-5.5 available in the GitHub Copilot provider catalog with its advertised 400k context / 128k output capability and include it in xhigh thinking profiles

Why

GitHub Copilot exposes current model capabilities via /models, including gpt-5.5 with a 400k context window and 128k max output. The provider catalog previously returned models: [], so newly configured Copilot models fell through to the synthetic dynamic-model path and inherited the conservative 128k/8192 defaults.

Verification

  • corepack pnpm format:check -- extensions/github-copilot/index.ts extensions/github-copilot/index.test.ts
  • corepack pnpm exec vitest run extensions/github-copilot/index.test.ts extensions/github-copilot/models.test.ts

Fixes #71936

Changed files

  • extensions/github-copilot/index.test.ts (modified, +148/-21)
  • extensions/github-copilot/index.ts (modified, +132/-6)
RAW_BUFFERClick to expand / collapse

Problem

The bundled GitHub Copilot provider currently publishes an empty provider catalog (models: []) during discovery. As a result, newly available Copilot models such as gpt-5.5 can be selected only through the dynamic fallback path, which uses conservative synthetic defaults instead of the capabilities advertised by the Copilot /models API.

For example, Copilot /models advertises gpt-5.5 with:

  • max_context_window_tokens: 400000
  • max_output_tokens: 128000
  • vision support
  • reasoning effort support including xhigh

But because the provider catalog does not ingest those fields, OpenClaw can treat the model as a generic synthetic Copilot model and show/use a much smaller effective context window.

Impact

Users configuring GitHub Copilot models shortly after they become available may get stale or incorrect model metadata until OpenClaw is updated manually. In particular, GPT-5.5 may be usable but not budgeted with its advertised context/output limits.

Expected behavior

The GitHub Copilot provider should fetch ${baseUrl}/models during catalog discovery and map capability metadata into model definitions, including:

  • capabilities.limits.max_context_window_tokenscontextWindow
  • capabilities.limits.max_output_tokensmaxTokens
  • capabilities.supports.vision / vision limits → input
  • capabilities.supports.reasoning_effortreasoning / thinking profile support
  • supported_endpoints → provider runtime API selection

Proposed fix

PR #71924 implements this for the GitHub Copilot provider catalog and adds coverage for GPT-5.5 capability mapping.

Linked PR: https://github.com/openclaw/openclaw/pull/71924

extent analysis

TL;DR

The GitHub Copilot provider catalog should be updated to fetch and map capability metadata from the Copilot /models API to ensure accurate model definitions.

Guidance

  • Review the proposed fix in PR #71924 to understand the changes required to update the GitHub Copilot provider catalog.
  • Verify that the catalog discovery process fetches the correct metadata from the Copilot /models API, including max_context_window_tokens, max_output_tokens, vision support, and reasoning effort support.
  • Test the updated catalog with newly available Copilot models, such as gpt-5.5, to ensure accurate model definitions and capabilities.
  • Consider applying the proposed fix to prevent stale or incorrect model metadata for users configuring GitHub Copilot models.

Example

No code snippet is provided as the issue references a specific PR with the proposed fix.

Notes

The proposed fix is specific to the GitHub Copilot provider catalog and may not apply to other providers. The issue highlights the importance of keeping the provider catalog up-to-date to ensure accurate model definitions and capabilities.

Recommendation

Apply the workaround by merging PR #71924 to update the GitHub Copilot provider catalog and ensure accurate model definitions for newly available Copilot models. This will prevent stale or incorrect model metadata and provide users with the correct capabilities and limits for models like gpt-5.5.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The GitHub Copilot provider should fetch ${baseUrl}/models during catalog discovery and map capability metadata into model definitions, including:

  • capabilities.limits.max_context_window_tokenscontextWindow
  • capabilities.limits.max_output_tokensmaxTokens
  • capabilities.supports.vision / vision limits → input
  • capabilities.supports.reasoning_effortreasoning / thinking profile support
  • supported_endpoints → provider runtime API selection

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix GitHub Copilot provider catalog does not load GPT-5.5 capabilities from /models [1 pull requests, 1 comments, 2 participants]