Skip to content

[V1.4.1] Keep returns "Out of credits" with both ChatGPT subscription and API key #424

Description

@Koyukopan

Consistently returns the following error when using OpenAI

Out of credits. OpenAI: The usage limit has been reached.
Manage billing at https://platform.openai.com/account/billing.
Image

This happens with both

  • ChatGPT subscription authentication
  • My own OpenAI API key

My API account still has available credit, so this does not appear to be caused by an actual lack of API credits.

Expected behavior

The local version should be able to connect to OpenAI using either my ChatGPT subscription authentication or my valid API key, as long as the corresponding account has available usage.

Actual behavior

The local version always returns the same Out of credits error.
Switching from subscription authentication to my own API key does not change the error.

Even after disconnecting/removing the ChatGPT subscription authentication and configuring only my OpenAI API key, the application still does not work correctly. It seems possible that the local version may still be referencing the previous subscription authentication instead of using the configured API key.
They shows this message.

Image

Steps to reproduce

  1. Run the local version.
  2. Connect OpenAI using ChatGPT subscription authentication.
  3. Send a request.
  4. The Out of credits error appears.
  5. Disconnect/remove the ChatGPT subscription authentication.
  6. Configure a valid OpenAI API key with available credit.
  7. Send another request.
  8. The exact same Out of credits error appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions