Skip to content

Copilot provider returns empty response, not error, when usage limit exceeded #6470

@The-Best-Codes

Description

@The-Best-Codes

Describe the bug

This issue was reported to me by a Discord user; I have not experienced it myself.

When using goose with an exhausted GitHub Copilot account, goose returns empty messages instead of an error explaining that you're out of chat requests on your GitHub Copilot account.

Here are two screenshots that the Discord user experiencing the issue sent me:

Image Image

To Reproduce

Yeah have fun reproducing this 🤣
Step 1. Exhaust your GitHub Copilot account...
Step 2. Send a message to goose using the GitHub Copilot provider.
Step 3. Observe the empty message you receive as a response, and wonder why goose isn't telling you anything.


Expected behavior

When I'm out of chat requests on my GitHub Copilot plan, goose should tell me that (as an error) instead of responding with an empty message.


Please provide the following information

  • OS & Arch: Kubuntu 25.10
  • Interface: CLI
  • Version: v1.19.1
  • Extensions enabled: computercontroller, todo, skills, extensionmanager, developer, code_execution, chatrecall
  • Provider & Model: GitHub Copilot – gpt-4.1

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions