Skip to content

Commit

Permalink
log single_bot
Browse files Browse the repository at this point in the history
  • Loading branch information
f1delius committed Jul 19, 2024
1 parent 6a00758 commit 29d0171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ async def stream_workflow(
prev_data += data
lines += 1
if access_token is None:
if single_bot:
logger.info(f"single_bot: workflow invoke {single_bot}")
if single_bot == True:
data = await send_agent_message(workflow_id, thread_id, reply_id, prev_data, room_id, workflow_bot, msg_limit)
else:
data = await send_agent_message(agent[prev_event], thread_id, reply_id, prev_data, room_id, workflow_bot, msg_limit)
Expand Down

0 comments on commit 29d0171

Please sign in to comment.