eca icon indicating copy to clipboard operation
eca copied to clipboard

Error when using the github-copilot provider

Open fuzy112 opened this issue 1 year ago • 1 comments

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_****"}

fuzy112 avatar Aug 28 '25 02:08 fuzy112

I forgot to switch models.

fuzy112 avatar Aug 28 '25 02:08 fuzy112