This commit is contained in:
liubiren 2026-09-17 18:56:29 +08:00
parent 3f3e734c96
commit 8919d623bc
1 changed files with 4 additions and 5 deletions

View File

@ -385,13 +385,12 @@ class ConversationState(rx.State):
if not connection_pool: if not connection_pool:
return return
deps = Deps(
account_id=conversation.workflow.deps["account_id"],
connection_pool=connection_pool,
)
# 运行并流式输出事件 # 运行并流式输出事件
stream_events = run_stream_events( stream_events = run_stream_events(
deps=deps, deps=Deps(
account_id=conversation.workflow.deps["account_id"],
connection_pool=connection_pool,
),
user_prompt=user_prompt, user_prompt=user_prompt,
message_history=message_history, message_history=message_history,
usage=usage, usage=usage,