From c6ea92bfe59e4f4d8154e060e02fae1206fa7af7 Mon Sep 17 00:00:00 2001 From: Steve Androulakis Date: Tue, 31 Dec 2024 12:21:27 -0800 Subject: [PATCH] workflow name --- end_chat.py | 2 +- get_history.py | 2 +- send_message.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/end_chat.py b/end_chat.py index 044d92c..b9554a0 100644 --- a/end_chat.py +++ b/end_chat.py @@ -9,7 +9,7 @@ async def main(): # Create client connected to server at the given address client = await Client.connect("localhost:7233") - workflow_id = "entity-ollama-workflow" + workflow_id = "ollama-agent" handle = client.get_workflow_handle_for(EntityOllamaWorkflow.run, workflow_id) diff --git a/get_history.py b/get_history.py index dcdd416..0fb07c6 100644 --- a/get_history.py +++ b/get_history.py @@ -7,7 +7,7 @@ from workflows import EntityOllamaWorkflow async def main(): # Create client connected to server at the given address client = await Client.connect("localhost:7233") - workflow_id = "entity-ollama-workflow" + workflow_id = "ollama-agent" handle = client.get_workflow_handle(workflow_id) diff --git a/send_message.py b/send_message.py index 3645236..d20d67d 100644 --- a/send_message.py +++ b/send_message.py @@ -9,7 +9,7 @@ async def main(prompt): # Create client connected to server at the given address client = await Client.connect("localhost:7233") - workflow_id = "entity-ollama-workflow" + workflow_id = "ollama-agent" # Sends a signal to the workflow (and starts it if needed) await client.start_workflow(