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

Adding an option not to return an error #5

Open
ccfiel opened this issue Oct 16, 2024 · 0 comments
Open

Adding an option not to return an error #5

ccfiel opened this issue Oct 16, 2024 · 0 comments

Comments

@ccfiel
Copy link

ccfiel commented Oct 16, 2024

Adding an option not to return an error happens.

I got these errors
1)

Error: [2024-10-16T18:34:37.046Z]: Could not generate suggestions: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 200914 tokens > [19](https://github.com/kahero-team/backoffice/actions/runs/11371742734/job/31634499421#step:2:20)9999 maximum"}}
Error: Could not generate suggestions: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: [20](https://github.com/kahero-team/backoffice/actions/runs/11371742734/job/31634499421#step:2:21)0914 tokens > 199999 maximum"}}
Warning: [2024-10-16T18:34:37.046Z]: Could not generate suggestions. Refer to the error log for more information and try again.

Error: [2024-10-16T18:57:09.722Z]: TypeError: Cannot read properties of undefined (reading 'length')
Error: Cannot read properties of undefined (reading 'length')
0s

@ccfiel ccfiel changed the title Adding an option not to return an error if the prompt is too long. Adding an option not to return an error Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant