Temporal Cloud support

This commit is contained in:
Steve Androulakis
2025-01-10 14:13:32 -08:00
parent 22f9f6dee4
commit c623029c9d
9 changed files with 155 additions and 104 deletions

View File

@@ -1,12 +1,14 @@
import asyncio
import sys
from temporalio.client import Client
from shared.config import get_temporal_client
from workflows.tool_workflow import ToolWorkflow
async def main():
# 1) Connect to Temporal and signal the workflow
client = await Client.connect("localhost:7233")
# Connect to Temporal and signal the workflow
client = await get_temporal_client()
workflow_id = "agent-workflow"