Skip to content

Not working with github copilot #2

@Halfwalker

Description

@Halfwalker

I have a github copilot subscription through our company - that's the only provider configured (so far). And no luck with getting toast popups, or even /quota working :(

Running /quota just returns "Quota unavailable"
Running /quota-status runs, but has a couple of bits wrong

Quota Status (opencode-quota)
toast:
- configSource: defaults
- enabledProviders: (none)
- onlyCurrentModel: false
- currentModel: opencode/kimi-k2.5-free
- providers:
  - copilot: disabled available matchesCurrentModel=no
  - openai: disabled available matchesCurrentModel=no
  - firmware: disabled unavailable matchesCurrentModel=no
  - chutes: disabled unavailable matchesCurrentModel=no
  - google-antigravity: disabled unavailable matchesCurrentModel=yes
paths:
- auth.json: /home/deano/.local/share/opencode/auth.json
- firmware api key configured: false

The currentModel is wrong - this is in a whole new session, using Claude Sonnet 4.5 GitHub Copilot. I was using kimi-k2.5-free earlier though. Even though I'm logged in with copilot, it doesn't see it. Just in case, I configured a PAT installed in ~/.config/opencode/copilot-quota-token.json (I'm assuming business tier)

{
  "token": "github_pat_11B.....",
  "username": "AkaDean",
  "tier": "business"
}

Same thing, no toast. Any other information you need ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions