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

Hope the front end can add an exception handling mechanism #61

Closed
3 tasks done
M1saka10010 opened this issue Mar 4, 2023 · 1 comment
Closed
3 tasks done

Hope the front end can add an exception handling mechanism #61

M1saka10010 opened this issue Mar 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@M1saka10010
Copy link

Clear and concise description of the problem

The front end will always show that the AI is Thinking instead of throwing an exception that exceeds the length limit. This interaction can easily confuse users.

Suggested solution

Determine whether the message length exceeds the limit, or handle the error message returned by openai.

Alternative

No response

Additional context

No response

Validations

@ddiu8081
Copy link
Member

We've just added a more detailed error message output. You should now be able to see the cause of the error in the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants