From a58afd061db45678fcf299c3d42f80656ce7e225 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 19 Aug 2025 21:28:11 +0300 Subject: llm/copilot: add required headers and update default model\n\n- Send X-GitHub-Api-Version and User-Agent headers for Copilot requests\n- Default Copilot model to gpt-4o-mini (avoid non-existent 'codex'/'gpt-4.1')\n- README and config.json.example: update Copilot defaults and guidance\n\nNote: Copilot provider expects Copilot-issued auth; for public access use GitHub Models via OpenAI-compatible endpoint. --- config.json.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.json.example') diff --git a/config.json.example b/config.json.example index b8c729b..ce091d5 100644 --- a/config.json.example +++ b/config.json.example @@ -18,7 +18,7 @@ "ollama_base_url": "http://localhost:11434", "ollama_temperature": 0.2, - "copilot_model": "gpt-4.1", + "copilot_model": "gpt-4o-mini", "copilot_base_url": "https://api.githubcopilot.com", "copilot_temperature": 0.2 } -- cgit v1.2.3