renaming workflows and activities

This commit is contained in:
Steve Androulakis
2025-02-15 12:12:39 -08:00
parent ab83f4e5a0
commit b37d158770
8 changed files with 80 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
import asyncio
from workflows.tool_workflow import ToolWorkflow
from workflows.agent_goal_workflow import AgentGoalWorkflow
async def main():
@@ -10,10 +10,10 @@ async def main():
workflow_id = "agent-workflow"
handle = client.get_workflow_handle_for(ToolWorkflow.run, workflow_id)
handle = client.get_workflow_handle_for(AgentGoalWorkflow.run, workflow_id)
# Sends a signal to the workflow
await handle.signal(ToolWorkflow.end_chat)
await handle.signal(AgentGoalWorkflow.end_chat)
if __name__ == "__main__":