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

Improve status message #23

Open
drobnikj opened this issue Dec 18, 2023 · 0 comments
Open

Improve status message #23

drobnikj opened this issue Dec 18, 2023 · 0 comments

Comments

@drobnikj
Copy link
Member

Propagate OpenAI API errors into Actor status messages.

For errors like

2023-11-30T16:09:50.196Z BadRequestError: This model's maximum context length is 16385 tokens. However, your messages resulted in 18178 tokens (17820 in the messages, 358 in the functions). Please reduce the length of the messages or functions.

exits Actor with status messages explaining OpenAI error.

see issue in slack

@fnesveda fnesveda added t-platform Issues with this label are in the ownership of the platform team. and removed t-platform Issues with this label are in the ownership of the platform team. labels Jan 17, 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

2 participants