summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorpaul@buetow.org <paul@buetow.org>2026-02-06 16:35:45 +0200
committerpaul@buetow.org <paul@buetow.org>2026-02-06 16:35:45 +0200
commite58ae44d26a26d38150ced1ac09f69a589d96f49 (patch)
tree5e9ae4fbd1696d1b668dfe0be791004a87fc7a6a /cmd
parent356fd474e9454f21853417428df05d99dbcf5c89 (diff)
Remove GitHub Copilot provider support
Remove all GitHub Copilot integration from the codebase to streamline the supported provider set to OpenAI, OpenRouter, Anthropic, and Ollama. Changes: - Delete core Copilot implementation (copilot.go) and all related tests - Remove Copilot configuration fields from App struct and Config - Remove Copilot from provider factory and API key handling - Update all test files to replace Copilot references with other providers - Remove Copilot documentation from README, configuration guide, and examples - Remove Copilot section from config.toml.example All tests pass successfully after removal. Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hexai/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/hexai/main.go b/cmd/hexai/main.go
index 7caedc6..15fda42 100644
--- a/cmd/hexai/main.go
+++ b/cmd/hexai/main.go
@@ -100,8 +100,8 @@ func pickDefaultModel(cfg appconfig.App, provider string) string {
switch strings.ToLower(strings.TrimSpace(provider)) {
case "ollama":
return strings.TrimSpace(cfg.OllamaModel)
- case "copilot":
- return strings.TrimSpace(cfg.CopilotModel)
+ case "anthropic":
+ return strings.TrimSpace(cfg.AnthropicModel)
default:
return strings.TrimSpace(cfg.OpenAIModel)
}