Skip to content

[Bug]: Gitbub Copilot provider errors #261

@tjsousa

Description

@tjsousa

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • I am using the latest version of Moltis
  • If this happened during a chat session, I included as much full session context as possible and redacted secrets

What happened?

When I configure GitHub Copilot the models list seems outdated and every call fails with

⚠️
Error
HTTP 421: Misdirected Request
Provider: github-copilot

OpenClaw seem to have had this issue as well: openclaw/openclaw#1797

Expected behavior

Be able to use available models from my GitHub Copilot subscription

Steps to reproduce

Moltis running in docker deployed to a cloud VPS.

  • Web UI: https://localhost:13131
  • Go to Settings → Providers → GitHub Copilot → Connect
  • Complete OAuth flow
  • Send a message in the Web UI chat
  • Error: HTTP 421 Misdirected Request
  • Logs show: failed to fetch github-copilot models, using fallback catalog

Did this happen during a chat session?

Yes

Chat session context (if applicable)

Error messages / logs

Is this a regression?

Yes, this worked before

Last working version

No response

Moltis version

Moltis 0.9.9

Component

Agent / LLM providers

Install method

Docker

Operating system

Other Linux

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions