goose: Unable to select Claude Sonnet as model for Copilot provider
From goose configure, choose Copilot:
┌ goose-configure
│
◇ What would you like to configure?
│ Configure Providers
│
◇ Which model provider should we use?
│ Github Copilot
│
◇ Enter a model from that provider:
│ claude-3.7-sonnet
│
◇ Server error: Object {"error": String("An internal server error occurred.")}
│
└ Failed to configure provider: init chat completion request with tool did not succeed.
This is different from failing with a bad model string. We are using sonnet in VSCode and IDEA at the org level. The default (gpt-4o) works fine.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 15
- Comments: 18 (2 by maintainers)
Also having this issue for
claude-3.7-sonnet.It’s strangely difficult to find the identifiers for the available models (and it differs per-account), but taking hints from aider’s docs, you can list all the models via:
Models that have worked:
gpt-4oo3-miniModels that seem broken:
claude-3.5-sonnetclaude-3.7-sonnetgpt-4.1gpt-4.1gives:While, the
claude-*models give:I think the errors have to do with tool usage. I can – if I configure it manually in the config file – tell e.g. claude 4 sonnet through github copilot to write me a spring poem and I get an answer. However, when I tell it to write the spring poem to a file, it crashes with the internal server error.
Today claude 4 sonnet works for me without really changing anything. 🤔
Just wanted to report that I was able to set Claude as the model by editing the config file directly: