Skip to content

Limit LLM individual message payload size #1150

Closed
@RichDom2185

Description

@RichDom2185

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions