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

Cannot deploy my database and OPENAI is using tokens when pressing on deploy although deployment fails #1467

Open
mohamedaliabid10 opened this issue Mar 26, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@mohamedaliabid10
Copy link

Describe the bug
When attempting to deploy a SQL Server database with approximately 400 tables to WrenAI, the process fails.
is it due to OpenAI rate limits ?

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser FireFox

Wren AI Information

@mohamedaliabid10 mohamedaliabid10 added the bug Something isn't working label Mar 26, 2025
@cyyeh
Copy link
Member

cyyeh commented Mar 26, 2025

@mohamedaliabid10 from the error messages in ai service log: Request too large for gpt-4o-mini in organization org-xxxxxx on tokens per min (TPM): Limit 200000, Requested 565735. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.

This means you reach TPM limit based on your current openai api usage tiers.

fyi: https://platform.openai.com/docs/guides/rate-limits

@mohamedaliabid10
Copy link
Author

@cyyeh thanks for answering, you said the error highlights request too large for gpt 4o mini although when i installed wrenai i choosed got 4o … and is there any approach i can take solve this issue besides reducing the input ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants