From 6e651b5bb5d8900ab20836a9353e0901df65475d Mon Sep 17 00:00:00 2001 From: Lars Date: Thu, 26 Mar 2026 14:33:00 +0100 Subject: [PATCH] fix: include stage outputs in debug info for value table - stage_debug now includes 'output' dict with all stage outputs - Fixes empty values for stage_X_outputkey in expert mode - Stage outputs are the actual AI responses passed to next stage --- backend/prompt_executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/prompt_executor.py b/backend/prompt_executor.py index bb053ee..656868a 100644 --- a/backend/prompt_executor.py +++ b/backend/prompt_executor.py @@ -358,6 +358,7 @@ async def execute_pipeline_prompt( }) if enable_debug: + stage_debug['output'] = stage_outputs # Add outputs to debug info for value table pipeline_debug.append(stage_debug) # Final output is last stage's first output