Skip to content

Commit 46e5fbf

Browse files
declan-scaleclaude
andcommitted
fix(tutorials): wire model credential + deployment agent metadata for at130-langgraph
Greptile review on #428: the 130_langgraph temporal tutorial's graph.py builds ChatOpenAI(model=MODEL_NAME) but the manifest only mapped REDIS_URL, so a deployed worker would fail on its first model call. Add the OPENAI_API_KEY credential and the deployment.global.agent name/description block to match the sibling migrated tutorials (e.g. at110-pydantic-ai). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9b36537 commit 46e5fbf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • examples/tutorials/10_async/10_temporal/130_langgraph

examples/tutorials/10_async/10_temporal/130_langgraph/manifest.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ agent:
3030
- env_var_name: REDIS_URL
3131
secret_name: redis-url-secret
3232
secret_key: url
33+
# graph.py builds ChatOpenAI(model=MODEL_NAME); a deployed worker needs the
34+
# model credential or the first activity call fails.
35+
- env_var_name: OPENAI_API_KEY
36+
secret_name: openai-api-key
37+
secret_key: api-key
3338

3439
env: {}
3540

@@ -41,6 +46,9 @@ deployment:
4146
imagePullSecrets: []
4247

4348
global:
49+
agent:
50+
name: "at130-langgraph"
51+
description: "A Temporal-backed LangGraph agent (harness variant) whose nodes run as Temporal activities"
4452
replicaCount: 1
4553
resources:
4654
requests:

0 commit comments

Comments
 (0)