spacedriveapp / spacedriveapp/spacebot
Github Copilot provider not working
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
- Navigate to the provider settings in Spacebot to add a new API key.
- Select GitHub Copilot as the provider.
- Enter a valid GitHub Copilot API key.
- Input the model ID:
github-copilot/claude-sonnet-4 - Click Test model.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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