Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI key invalid AI service keep crashing #209

Open
chilijung opened this issue May 7, 2024 · 1 comment
Open

OpenAI key invalid AI service keep crashing #209

chilijung opened this issue May 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working module/ai-service ai-service related

Comments

@chilijung
Copy link
Member

chilijung commented May 7, 2024

Describe the bug
As title

To Reproduce
Steps to reproduce the behavior:

  1. type in an invalid AI token or OpenAI read-only API token
  2. The AI service will keep crashing.

Expected behavior
Invalid token should not keep AI service crashing.

Screenshots
If applicable, add screenshots to help explain your problem.

image

WrenAI Information

  • Version: v0.3.0-rc1
@chilijung chilijung added the bug Something isn't working label May 7, 2024
@cyyeh
Copy link
Member

cyyeh commented May 14, 2024

please make sure the OpenAI key provided has full permission: https://help.openai.com/en/articles/8867743-assign-api-key-permissions

@cyyeh cyyeh added the module/ai-service ai-service related label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module/ai-service ai-service related
Projects
None yet
Development

No branches or pull requests

4 participants