Skip to content

Commit 054dfce

Browse files
fix(health): Fix undefined stage variables in workflow template
- Replace undefined 'stage' variable with hard-coded stage names - Fixes F821 lint errors in new_sample_workflow1.py - Improves code quality by eliminating undefined name references Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1bad1e5 commit 054dfce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/empathy_os/workflows/new_sample_workflow1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def _analyze(
8080
8181
"""
8282
# TODO: Implement analyze logic
83-
prompt = f"{stage} stage: {input_data}"
83+
prompt = f"analyze stage: {input_data}"
8484

8585
if self.executor:
8686
result = await self.executor.execute(
@@ -107,7 +107,7 @@ async def _process(
107107
108108
"""
109109
# TODO: Implement process logic
110-
prompt = f"{stage} stage: {input_data}"
110+
prompt = f"process stage: {input_data}"
111111

112112
if self.executor:
113113
result = await self.executor.execute(
@@ -134,7 +134,7 @@ async def _report(
134134
135135
"""
136136
# TODO: Implement report logic
137-
prompt = f"{stage} stage: {input_data}"
137+
prompt = f"report stage: {input_data}"
138138

139139
if self.executor:
140140
result = await self.executor.execute(

0 commit comments

Comments
 (0)