You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openai.BadRequestError: Error code: 400 - {'error': {'message': "This model's maximum context length is 8192 tokens, however you requested 8977 tokens (8977 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.", 'type': 'invalid_request_error', 'param': None, 'code': None}}
I am using routellm _ openrouter and this is the error I am getting when using google's gemini pro
The text was updated successfully, but these errors were encountered:
Hi there! So this is caused by the OpenAI embedding call, which unfortunately has a maximum context length - I would suggest using the bert model instead, which doesn't require an embedding call.
openai.BadRequestError: Error code: 400 - {'error': {'message': "This model's maximum context length is 8192 tokens, however you requested 8977 tokens (8977 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.", 'type': 'invalid_request_error', 'param': None, 'code': None}}
I am using routellm _ openrouter and this is the error I am getting when using google's gemini pro
The text was updated successfully, but these errors were encountered: