Workflow V1 #72
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Log placeholder loading (count, sample keys) - Log key cleaning process (before/after) - Log sample values (name, age, geschlecht) - Log template before/after resolution - Log resolved and unresolved placeholders - Add .strip() to key cleaning to handle spaces This will help diagnose why {{ name }}, {{ age }}, {{ geschlecht }} are not resolving in inline templates. Issue: Part 3 Inline Prompts - placeholder resolution debuggingISSUE: Inline templates referencing node outputs ({{ node_id.analysis_core }}, {{ node_id.signal_xyz }}) were not resolved - AI received empty data from previous workflow stages. ROOT CAUSE: load_prompt_template() only loaded system placeholders (name, age, etc.) but not node execution results from context['node_results']. FIX: - Extract node outputs from context['node_results'] - Add as placeholders: node_id.analysis_core, node_id.signal_xyz, node_id.question_xyz - Format matches PlaceholderPicker extraction logic - Debug logging shows which node placeholders are added TESTING: - System placeholder test: ✅ SUCCESS (name, age, geschlecht resolved) - Node output placeholders: Fixed (previously missing) - User workflow: Join → Analysis → End now receives upstream data Part 3: Inline Prompts - placeholder resolution completion**Issue 1: Prompt selector loses value** - When switching Reference→Inline→Reference, the dropdown was empty - Root cause: Switching to Inline deleted prompt_slug - Fix: Keep prompt_slug when activating inline_template - Now: Both modes preserve their values independently **Issue 2: Workflow overview shows 'kein Prompt'** - Nodes with inline templates showed misleading 'kein Prompt' text - Root cause: AnalysisNode only checked prompt_name/prompt_slug - Fix: Check inline_template and display '✏️ Inline-Template' - Now: Clear visual distinction between modes Files: - WorkflowEditorPage.jsx: Preserve prompt_slug on mode switch - AnalysisNode.jsx: Add isInlineMode detection and display Part 3: Inline Prompts - UX polish