mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-21 07:01:04 +08:00
Fix: An error message appears when accessing the agent's launch page: "pagesize exceeds maximum value". (#15835)
### What problem does this PR solve? Fix: An error message appears when accessing the agent's launch page: "pagesize exceeds maximum value". ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: balibabu <assassin_cike@163.com>
This commit is contained in:
@@ -1455,7 +1455,7 @@ async def agent_chat_completion(tenant_id, agent_id=None):
|
||||
"dialog_id": cvs.id,
|
||||
"user_id": user_id,
|
||||
"exp_user_id": user_id,
|
||||
"name": req.get("name", ""),
|
||||
"name": req.get("name") or (query[:250] if query else "") or "",
|
||||
"message": [
|
||||
{
|
||||
"role": "user",
|
||||
|
||||
Reference in New Issue
Block a user