gsxdsm
235ff4c65e
FN-7771: add per-node thinking level for workflow model bindings
Adds a per-node thinking-level override (config.thinkingLevel) for workflow IR model bindings so individual workflow nodes can set reasoning effort independently of the global default.
- Extend workflow-ir types/schema and workflow-steps-to-ir conversion to carry config.thinkingLevel per node
- Wire thinkingLevel through executor and step-session-executor so the engine applies the per-node override during model calls
- Add a thinking-level control to WorkflowNodeEditor for authoring per-node overrides in the dashboard
- Add/extend tests covering IR round-trip, steps-to-ir conversion, executor model binding, and the WorkflowNodeEditor UI
- Document the new setting in docs/workflow-steps.md
- Add changeset for @runfusion/fusion (minor)
Files changed:
.changeset/fn-7771-workflow-node-thinking.md | 7 +++
docs/workflow-steps.md | 10 ++-
packages/core/src/__tests__/workflow-ir.test.ts | 42 +++++++++++++
.../src/__tests__/workflow-steps-to-ir.test.ts | 15 +++++
packages/core/src/store.ts | 1 +
packages/core/src/types.ts | 9 +++
packages/core/src/workflow-ir.ts | 21 +++++++
packages/core/src/workflow-steps-to-ir.ts | 5 ++
.../app/components/WorkflowNodeEditor.tsx | 42 ++++++++++++-
.../__tests__/WorkflowNodeEditor.test.tsx | 73 ++++++++++++++++++++++
.../engine/src/__tests__/executor-test-helpers.ts | 5 ++
.../__tests__/executor-workflow-step-model.test.ts | 31 +++++++++
.../src/__tests__/workflow-step-review.test.ts | 53 ++++++++++++++++
packages/engine/src/executor.ts | 61 ++++++++++++++++--
packages/engine/src/step-session-executor.ts | 12 +++-
packages/engine/src/workflow-node-handlers.ts | 29 ++++++++-
16 files changed, 404 insertions(+), 12 deletions(-)
Fusion-Task-Id: FN-7771
Fusion-Task-Lineage: 5dbe3efb-773d-47db-9412-b740eb1d7745
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-10 01:49:15 -07:00
..
2026-07-09 23:46:21 -07:00
2026-07-08 16:27:10 -07:00
2026-07-10 01:49:15 -07:00
2026-07-10 01:49:15 -07:00
2026-07-09 23:46:21 -07:00
2026-07-08 16:27:10 -07:00
2026-07-10 01:49:15 -07:00
2026-07-10 01:15:40 -07:00
2026-07-08 16:27:10 -07:00
2026-07-09 21:32:59 -07:00
2026-06-08 15:19:27 -07:00
2026-07-08 16:27:10 -07:00