mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 22:18:09 +01:00
workflow name
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user