spacedriveapp / spacedriveapp/spacebot

Github Copilot provider not working

Open
#415 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.4k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from Spacebot's provider settings: select GitHub Copilot, enter the documented model ID, and run Test model. Trace the provider lookup that produces the unknown provider: github-copilot error and compare it with the implementation referenced by issue #394. Done means a valid Copilot configuration is recognized, tested successfully, and saved without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, rust
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.