Skip to content

Github Copilot provider not working #415

@markhaehnel

Description

@markhaehnel

Description

When attempting to add GitHub Copilot as an AI provider and testing the model connection, the application fails to recognize GitHub Copilot as a valid provider.

This was just implemented but i guess not tested. #394

Error Message

Model test failed: CompletionError: ProviderError: unknown provider: github-copilot

Steps to Reproduce

  1. Navigate to the provider settings in Spacebot to add a new API key.
  2. Select GitHub Copilot as the provider.
  3. Enter a valid GitHub Copilot API key.
  4. Input the model ID: github-copilot/claude-sonnet-4
  5. Click Test model.
  6. See the error displayed in the UI.

Expected Behavior

The system should successfully verify the API key and model against the GitHub Copilot API, and save the configuration without throwing an "unknown provider" error.

Actual Behavior

The test fails immediately with a CompletionError stating that github-copilot is an unknown provider.

Environment

  • Spacebot Version: v0.3.3
  • OS: Docker (Linux)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    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