-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrender.yaml
More file actions
52 lines (50 loc) · 1.93 KB
/
Copy pathrender.yaml
File metadata and controls
52 lines (50 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Render Blueprint for the Parallel Research Agent
#
# Creates the gateway web service and the Workflow service that runs the
# research tasks. The gateway reads the Workflow's slug automatically.
services:
- type: web
name: parallel-research-gateway
runtime: python
plan: starter
region: oregon
buildCommand: pip install -r requirements.txt
startCommand: uvicorn gateway.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
envVars:
# Render API key — https://render.com/docs/api-keys
# Used by the gateway to dispatch workflow runs
- key: RENDER_API_KEY
sync: false
- key: RENDER_WORKFLOW_SLUG
fromService:
name: parallel-research-workflow
type: workflow
property: slug
# Secret for the Authorization: Bearer header. Requests without it are rejected.
- key: API_SECRET
generateValue: true
- type: workflow
name: parallel-research-workflow
runtime: python
# Workflows require an explicit region. Compute plans are set per task in code.
region: oregon
buildCommand: pip install -r requirements.txt
startCommand: python -m workflow.main
envVars:
# Parallel API key — get one free at https://platform.parallel.ai
- key: PARALLEL_API_KEY
sync: false
# LLM provider API key — set the one matching your chosen provider.
# Default is Anthropic (claude-sonnet-5). Swap to OpenAI by setting
# OPENAI_API_KEY and LLM_MODEL=openai/gpt-5 instead.
- key: ANTHROPIC_API_KEY
sync: false
# Optional: override the default LLM models (LiteLLM format: provider/model)
# - key: LLM_MODEL
# value: anthropic/claude-sonnet-5
# - key: PLANNER_MODEL
# value: anthropic/claude-haiku-4-5-20251001
# Optional: override the default Parallel search mode (turbo | fast | advanced)
# - key: PARALLEL_SEARCH_MODE
# value: fast