workflow name

This commit is contained in:
Steve Androulakis
2024-12-31 12:21:27 -08:00
parent 4286be2e5d
commit c6ea92bfe5
3 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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(