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 — GitHub Copilot Claude effort levels are now in /models; opencode should stop filtering them · Issue #34438 · anomalyco/opencode

GitHub Copilot Claude effort levels are now in /models; opencode should stop filtering them #34438

New issue
Copy link
New issue
Copy link
Closed
Closed
GitHub Copilot Claude effort levels are now in /models; opencode should stop filtering them#34438
Copy link
Assignees
StarpTech

Description

@fermumen
fermumen
opened on Jun 29, 2026
Issue body actions

Description

GitHub Copilot now seems to expose the supported reasoning efforts directly in /models, so opencode should probably trust that list instead of hardcoding/filtering Claude efforts. Now that it's pay per token it has become more like a regular api provider.

Current Copilot /models examples:

claude-opus-4.6: ["low", "medium", "high", "max"]
claude-opus-4.7: ["low", "medium", "high", "xhigh", "max"]
claude-opus-4.8: ["low", "medium", "high", "xhigh", "max"]
claude-sonnet-4.6: ["low", "medium", "high", "max"]

I also tested claude-opus-4.8 manually and max works:

  • /chat/completions accepts reasoning_effort: "max"
  • /v1/messages accepts:
{
  "thinking": { "type": "adaptive", "display": "summarized" },
  "output_config": { "effort": "max" }
}

The stale bit seems to be in transform.ts where GitHub Copilot Claude efforts are still restricted:

if (model.api.id.includes("opus-4.7")) {
  efforts = ["medium"]
}

efforts = efforts.filter((v) => v !== "max" && v !== "xhigh")

There’s already a narrower issue/PR for Sonnet 4.6 max (#33607 / #33606), but this is a bit broader: Copilot now advertises xhigh/max for newer Opus models too, so the hardcoded filtering is out of date.

Plugins

none (--pure)

OpenCode version

latest

Steps to reproduce

model variant selection in a normal window only has low, medium, high on any Opus model

Screenshot and/or share link

No response

Operating System

ubuntu 22 / mac os

Terminal

not relevant

Activity

  1. github-actions
    assigned
    StarpTech
    on Jun 29, 2026
  2. github-actions commented on Jun 29, 2026

    @github-actions
    github-actionsBot
    on Jun 29, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • fix(copilot): claude-sonnet-4.6 max reasoning effort not available; model key mismatch on refresh #33607: Directly related — covers claude-sonnet-4.6 max reasoning effort not available via Copilot (the author references this themselves; this issue broadens the scope to all Opus models and xhigh/max filtering)
    • GitHub Copilot claude-opus-4.7: configured/subagent variant handling appears inconsistent; 'low' workaround is invalid #23043: GitHub Copilot claude-opus-4.7 effort/variant handling inconsistency — overlapping symptoms with the hardcoded effort filtering described here

    If your issue is distinct or supersedes the above (e.g., because it covers the broader fix needed across all Copilot Claude models), please add a note clarifying the scope difference from #33607.

  3. fermumen
    closed this as completedon Jun 29, 2026
  4. fermumen commented on Jun 29, 2026

    @fermumen
    fermumen
    on Jun 29, 2026
    Author
    More actions

    Closing, I was on an older version but it was already fixed in #30181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @StarpTech
    StarpTech

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.