mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 22:18:09 +01:00
Temporal Cloud support
This commit is contained in:
16
.env.example
16
.env.example
@@ -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
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ import asyncio
|
||||
import sys
|
||||
|
||||
from shared.config import get_temporal_client
|
||||
from workflows.tool_workflow import ToolWorkflow
|
||||
|
||||
|
||||
async def main():
|
||||
|
||||
Reference in New Issue
Block a user