Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-myers committed Jun 7, 2024
1 parent 9978a15 commit a6947f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bedrock/entity/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ async def run(
("conversation_summary", params.conversation_summary)
)

self.conversation_summary = params.conversation_summary

if params and params.prompt_queue:
self.prompt_queue.extend(params.prompt_queue)

Expand Down Expand Up @@ -110,9 +112,6 @@ async def run(
self.prompt_summary_from_history(),
schedule_to_close_timeout=timedelta(seconds=20),
)
else:
# Conversation history from previous workflow
self.conversation_summary = params.conversation_summary

workflow.logger.info(
"Chat ended. Conversation summary:\n"
Expand Down

0 comments on commit a6947f2

Please sign in to comment.