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

Limit LLM individual message payload size #1150

Open
RichDom2185 opened this issue Aug 12, 2024 · 0 comments · May be fixed by #1151
Open

Limit LLM individual message payload size #1150

RichDom2185 opened this issue Aug 12, 2024 · 0 comments · May be fixed by #1151
Assignees

Comments

@RichDom2185
Copy link
Member

While the context size is limited to 20 messages in #1144, individual messages still can be arbitrarily long.

The controller should check for message length and limit to e.g. 1000 characters maximum, return a 422 Unprocessable Entity status code otherwise.

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

Successfully merging a pull request may close this issue.

2 participants