mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-22 06:00:00 +08:00
Fix parameter name error. (#4312)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
419b546f03
commit
5071df9de1
@ -79,7 +79,7 @@ def completion(tenant_id, agent_id, question, session_id=None, stream=True, **kw
|
|||||||
conv = {
|
conv = {
|
||||||
"id": session_id,
|
"id": session_id,
|
||||||
"dialog_id": cvs.id,
|
"dialog_id": cvs.id,
|
||||||
"user_id": kwargs.get("usr_id", "") if isinstance(kwargs, dict) else "",
|
"user_id": kwargs.get("user_id", "") if isinstance(kwargs, dict) else "",
|
||||||
"message": [{"role": "assistant", "content": canvas.get_prologue()}],
|
"message": [{"role": "assistant", "content": canvas.get_prologue()}],
|
||||||
"source": "agent",
|
"source": "agent",
|
||||||
"dsl": cvs.dsl
|
"dsl": cvs.dsl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user