mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
fix(frontend/builder): increase StreamChatRequest.message limit to 64000 chars
This commit is contained in:
@@ -106,7 +106,7 @@ router = APIRouter(
|
||||
class StreamChatRequest(BaseModel):
|
||||
"""Request model for streaming chat with optional context."""
|
||||
|
||||
message: str = Field(max_length=32_000)
|
||||
message: str = Field(max_length=64_000)
|
||||
is_user_message: bool = True
|
||||
context: dict[str, str] | None = None # {url: str, content: str}
|
||||
file_ids: list[str] | None = Field(
|
||||
|
||||
Reference in New Issue
Block a user