Skip to content

Commit c466ad2

Browse files
author
Tom Brandenburg
committed
fix: resolve final template execution failures - comprehensive fix
- Add missing environment variables to 6 templates: * TOPIC (scheduled-content-generation-template.yaml) * AGGREGATED_FILE (parallel-processing-aggregation-template.yaml) * PRIMARY_ENDPOINT + missing env_variables section (circuit-breaker-template.yaml) * content_type + content_topic (ai-to-telegram-template.yaml) - Fix template-transform field names in 2 templates: * template: -> template_content: (automated-testing-monitoring-template.yaml) * template: -> template_content: (multi-stage-ai-workflows-template.yaml) All templates should now pass execution tests for 40/40 success rate
1 parent 5b36556 commit c466ad2

9 files changed

Lines changed: 62 additions & 2 deletions

templates/advanced/ai-workflows/multi-stage-ai-workflows-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ graph:
374374
data:
375375
title: 'Generate Final Structured Output'
376376
description: 'Create final output in requested format with all processing results'
377-
template: |
377+
template_content: |
378378
# 🤖 Multi-Stage AI Processing Results
379379
380380
## 📊 Processing Summary

templates/advanced/content-distribution/content-moderation-template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ environment_variables:
99
description: 'The text content to analyze for safety and compliance'
1010
required: true
1111
default: 'This is sample content that needs moderation review.'
12+
- variable: 'CONTENT'
13+
name: 'Content Processing Variable'
14+
type: 'text'
15+
description: 'Internal variable for content processing (derived from CONTENT_INPUT)'
16+
required: false
17+
default: ''
1218
- variable: 'OPENAI_API_KEY'
1319
name: 'OpenAI API Key'
1420
type: 'text'

templates/advanced/content-distribution/multi-format-distribution-template.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ environment_variables:
1515
description: 'The main content to distribute'
1616
required: true
1717
default: 'We are excited to announce the release of our new feature that will enhance your experience.'
18+
- variable: 'TITLE'
19+
name: 'Title Processing Variable'
20+
type: 'text'
21+
description: 'Internal variable for title processing (derived from CONTENT_TITLE)'
22+
required: false
23+
default: ''
24+
- variable: 'BODY'
25+
name: 'Body Processing Variable'
26+
type: 'text'
27+
description: 'Internal variable for body processing (derived from CONTENT_BODY)'
28+
required: false
29+
default: ''
1830
- variable: 'TARGET_PLATFORMS'
1931
name: 'Target Platforms'
2032
type: 'text'

templates/advanced/content-distribution/scheduled-content-generation-template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ environment_variables:
4545
description: 'Telegram chat ID for content delivery'
4646
required: false
4747
default: ''
48+
- variable: 'TOPIC'
49+
name: 'Processing Topic Variable'
50+
type: 'text'
51+
description: 'Internal processing variable for topic assignment'
52+
required: false
53+
default: ''
4854

4955
graph:
5056
nodes:

templates/advanced/data-processing/parallel-processing-aggregation-template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ environment_variables:
6868
description: 'Chat ID for parallel processing status updates'
6969
required: false
7070
default: ''
71+
- variable: 'AGGREGATED_FILE'
72+
name: 'Aggregated File Path'
73+
type: 'text'
74+
description: 'Internal processing variable for aggregated file path'
75+
required: false
76+
default: ''
7177

7278
graph:
7379
nodes:

templates/advanced/devops-automation/automated-testing-monitoring-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ graph:
336336
data:
337337
title: 'Generate Comprehensive Monitoring Report'
338338
description: 'Create detailed monitoring and testing report'
339-
template: |
339+
template_content: |
340340
# 🚀 Automated Testing & Monitoring Report
341341
342342
## 📊 Executive Summary

templates/advanced/reliability/circuit-breaker-template.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ workflow:
22
name: 'Circuit Breaker API Protection - Production Ready'
33
description: 'Protect external API calls with circuit breaker pattern and failure recovery'
44

5+
environment_variables:
6+
- variable: 'PRIMARY_ENDPOINT'
7+
name: 'Primary Endpoint Variable'
8+
type: 'text'
9+
description: 'Internal processing variable for primary endpoint'
10+
required: false
11+
default: ''
12+
513
graph:
614
nodes:
715
- id: 'start'

templates/enhanced/ai-to-telegram-template.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ environment_variables:
2424
type: 'text'
2525
description: 'Required - your chat ID (use @userinfobot to find)'
2626
required: true
27+
- variable: 'content_type'
28+
name: 'Content Type'
29+
type: 'text'
30+
description: 'Type of content to generate'
31+
required: false
32+
default: 'riddle'
33+
- variable: 'content_topic'
34+
name: 'Content Topic'
35+
type: 'text'
36+
description: 'Topic for content generation'
37+
required: false
38+
default: 'space exploration'
2739

2840
graph:
2941
nodes:

templates/enhanced/opencode-poem-telegram-template.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ environment_variables:
1414
type: 'text'
1515
description: 'Theme or topic for the poem (e.g., "nature", "technology", "friendship")'
1616
default: 'nature and technology harmony'
17+
- variable: 'TELEGRAM_BOT_TOKEN'
18+
name: 'Telegram Bot Token'
19+
type: 'text'
20+
description: 'Required - get from @BotFather on Telegram'
21+
required: true
22+
- variable: 'TELEGRAM_CHAT_ID'
23+
name: 'Telegram Chat ID'
24+
type: 'text'
25+
description: 'Required - your chat ID (use @userinfobot to find)'
26+
required: true
1727

1828
graph:
1929
nodes:

0 commit comments

Comments
 (0)