Temporal Cloud support

This commit is contained in:
Steve Androulakis
2025-01-10 14:17:07 -08:00
parent c623029c9d
commit 9c11298fe1
3 changed files with 12 additions and 9 deletions

View File

@@ -6,9 +6,13 @@ RAPIDAPI_HOST=sky-scrapper.p.rapidapi.com
STRIPE_API_KEY=sk_test_51J...
# uncomment and unset these environment variables to connect to the local dev server
TEMPORAL_ADDRESS=namespace.acct.tmprl.cloud:7233
TEMPORAL_NAMESPACE=default
TEMPORAL_TASK_QUEUE=agent-task-queue
TEMPORAL_TLS_CERT='path/to/cert.pem'
TEMPORAL_TLS_KEY='path/to/key.pem'
# TEMPORAL_API_KEY=abcdef1234567890 # Uncomment not using mTLS
# TEMPORAL_ADDRESS=namespace.acct.tmprl.cloud:7233
# TEMPORAL_NAMESPACE=default
# TEMPORAL_TASK_QUEUE=agent-task-queue
# Uncomment if using mTLS (not needed for local dev server)
# TEMPORAL_TLS_CERT='path/to/cert.pem'
# TEMPORAL_TLS_KEY='path/to/key.pem'
# Uncomment if using API key (not needed for local dev server)
# TEMPORAL_API_KEY=abcdef1234567890

View File

@@ -8,7 +8,7 @@ This demo shows a multi-turn conversation with an AI agent running inside a Temp
## Configuration
This application uses `.env` files for configuration. Copy the `.env.example` file to `.env` and update the values:
This application uses `.env` files for configuration. Copy the [.env.example](.env.example) file to `.env` and update the values:
```bash
cp .env.example .env
@@ -34,7 +34,7 @@ By default, this application will connect to a local Temporal server (`localhost
### Use Temporal Cloud
See `.env.example` for details on connecting to Temporal Cloud using mTLS or API key authentication.
See [.env.example](.env.example) for details on connecting to Temporal Cloud using mTLS or API key authentication.
[Sign up for Temporal Cloud](https://temporal.io/get-cloud)

View File

@@ -2,7 +2,6 @@ import asyncio
import sys
from shared.config import get_temporal_client
from workflows.tool_workflow import ToolWorkflow
async def main():