eca
eca copied to clipboard
Error when using the github-copilot provider
Describe the bug I can successfully login github-copilot, but if I send anything in the chat after login, it prints an error.
> /login github-copilot
Open your browser at `https://github.com/login/device` and authenticate using the code: `3*******`
Then type anything in the chat and send it to continue the authentication.
> Hello
Login successful! You can now use the 'github-copilot' models.
> Hello
Anthropic response status: 401 body: {"type":"error","error":{"type":"authentication_error","message":"x-api-key header is required"},"request_id":"req_****"}
I forgot to switch models.