This commit is contained in:
parent
3f3e734c96
commit
8919d623bc
|
|
@ -385,13 +385,12 @@ class ConversationState(rx.State):
|
||||||
if not connection_pool:
|
if not connection_pool:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# 运行并流式输出事件
|
||||||
|
stream_events = run_stream_events(
|
||||||
deps=Deps(
|
deps=Deps(
|
||||||
account_id=conversation.workflow.deps["account_id"],
|
account_id=conversation.workflow.deps["account_id"],
|
||||||
connection_pool=connection_pool,
|
connection_pool=connection_pool,
|
||||||
)
|
),
|
||||||
# 运行并流式输出事件
|
|
||||||
stream_events = run_stream_events(
|
|
||||||
deps=deps,
|
|
||||||
user_prompt=user_prompt,
|
user_prompt=user_prompt,
|
||||||
message_history=message_history,
|
message_history=message_history,
|
||||||
usage=usage,
|
usage=usage,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue