From 12a249282d5dd9dc2ee1e66f08d6acc26dd29eba Mon Sep 17 00:00:00 2001 From: "paul@buetow.org" Date: Fri, 6 Feb 2026 16:35:45 +0200 Subject: 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 --- internal/hexaiaction/prompts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/hexaiaction/prompts.go') diff --git a/internal/hexaiaction/prompts.go b/internal/hexaiaction/prompts.go index a113391..fc743a0 100644 --- a/internal/hexaiaction/prompts.go +++ b/internal/hexaiaction/prompts.go @@ -49,8 +49,8 @@ func defaultModelForProvider(cfg appconfig.App, provider string) string { switch provider { case "ollama": return cfg.OllamaModel - case "copilot": - return cfg.CopilotModel + case "anthropic": + return cfg.AnthropicModel default: return cfg.OpenAIModel } -- cgit v1.2.3