GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(copilot): claude-sonnet-4.6 max reasoning effort not available; model key mismatch on refresh · Issue #33607 · anomalyco/opencode

fix(copilot): claude-sonnet-4.6 max reasoning effort not available; model key mismatch on refresh #33607

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
fix(copilot): claude-sonnet-4.6 max reasoning effort not available; model key mismatch on refresh#33607
Copy link
Assignees
kitlangton

Description

@dzianisv
dzianisv
opened on Jun 24, 2026
Issue body actions

Bug 1: max reasoning effort missing for claude-sonnet-4.6

The Copilot API returns reasoning_effort: ["low", "medium", "high", "max"] for claude-sonnet-4.6, but OpenCode only exposes low/medium/high.

Root cause in transform.ts:

  • @ai-sdk/anthropic + github-copilot fallback path had efforts.filter(v => v !== "max" && v !== "xhigh") with stale comment "Efforts currently supported: low, medium, high"
  • @ai-sdk/github-copilot claude fallback path used WIDELY_SUPPORTED_EFFORTS which excludes max

Verified: output_config.effort=max is accepted by /v1/messages and controls thinking depth; reasoning_effort=max accepted by /chat/completions.

Bug 2: model key mismatch causes metadata loss on every refresh

Static catalog keys claude models as claude-sonnet-4-6 (hyphen). Copilot API returns id: "claude-sonnet-4.6" (dot). The lookup remote.get(model.api.id) fails, so the catalog entry is deleted and re-added as a new entry on every refresh — without prev, losing any metadata carried from the catalog and breaking saved model preferences.

Activity

  1. github-actions
    assigned
    kitlangton
    on Jun 24, 2026
  2. github-actions commented on Aug 24, 2026

    @github-actions
    github-actionsBot
    on Aug 24, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  3. github-actions
    closed this as not plannedon Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kitlangton
    kitlangton

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.