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

Unicode URLencoded strings exceeded max prompt length #2116

Closed
manageseverin opened this issue Apr 17, 2023 · 3 comments
Closed

Unicode URLencoded strings exceeded max prompt length #2116

manageseverin opened this issue Apr 17, 2023 · 3 comments

Comments

@manageseverin
Copy link

When I asked it to search for a specific product in specific country it does not take into account the urls that contain urlencoded unicode strings and crashes with "This model's maximum context length "

    raise self.handle_error_response(
openai.error.InvalidRequestError: This model's maximum context length is 8191 tokens, however you requested 8451 tokens (8451 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.
@manageseverin manageseverin changed the title Unocode URLencoded strings exceeded max prompt length Unicode URLencoded strings exceeded max prompt length Apr 17, 2023
@ntindle ntindle added bug Something isn't working needs investigation labels Apr 21, 2023
@kinance
Copy link
Contributor

kinance commented Apr 29, 2023

@manageseverin can you provide more debug info, e.g. call stack? It probably duplicates #2906

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants