Skip to content

feat(n8n): tool call validation, domain verifiers, agent domain routing#125

Merged
saschabuehrle merged 3 commits intomainfrom
feat/n8n-tool-validation-domain-verifiers
Feb 16, 2026
Merged

feat(n8n): tool call validation, domain verifiers, agent domain routing#125
saschabuehrle merged 3 commits intomainfrom
feat/n8n-tool-validation-domain-verifiers

Conversation

@saschabuehrle
Copy link
Copy Markdown
Collaborator

Summary

  • Tool call validation for LmChatCascadeFlow: validates drafter tool calls (JSON syntax, schema, safety) via ToolCascadeValidator before accepting them. Failed validation escalates to verifier. Gated behind enableToolCallValidation toggle (default: off).
  • Per-domain verifier support: each enabled domain can optionally have its own verifier model input port ({Domain} Verifier). During quality-check escalation, the domain-specific verifier is used when available.
  • Domain routing for CascadeFlowAgent: full domain routing with dynamic inputs, domain model/verifier getters. Agent node bumped to v2.
  • Tool cascade validation for Agent: validates tool calls before execution in the agent loop — failed validation re-generates via verifier.
  • Cost estimation table update: corrected gpt-4o ($2.50/$10), added gpt-5-mini, claude-3-5-haiku, claude-haiku-4-5, claude-sonnet-4-5, claude-sonnet-4, claude-opus-4-5.

All new features are opt-in with default: false toggles — fully backwards compatible.

Test plan

  • pnpm test — 7/7 tests pass (2 test files)
  • pnpm build — compiles cleanly (tsc + gulp icons)
  • CI green
  • n8n visual check: domain verifier ports appear/disappear with toggles

@saschabuehrle saschabuehrle reopened this Feb 16, 2026
@saschabuehrle saschabuehrle force-pushed the feat/n8n-tool-validation-domain-verifiers branch from caf5f79 to aab9469 Compare February 16, 2026 15:02
…ng, cost table update

- Add ToolCascadeValidator integration to LmChatCascadeFlow: validates drafter
  tool calls (JSON syntax, schema, safety) before accepting; escalates to
  verifier on failure. Gated behind enableToolCallValidation toggle (default off).
- Add per-domain verifier support: each enabled domain can optionally have its
  own verifier model input port. During escalation, domain-specific verifier is
  used when available. New verifierToggleName field in DOMAIN_UI_CONFIGS.
- Add full domain routing to CascadeFlowAgent: dynamic inputs expression,
  domain model/verifier getters, generateDomainProperties() reuse from
  LmChatCascadeFlow. Agent node bumped to version 2.
- Add tool cascade validation to CascadeFlowAgentExecutor: validates tool calls
  before execution, re-generates via verifier on failure.
- Update cost estimation table: corrected gpt-4o pricing, added gpt-5-mini,
  claude-3-5-haiku, claude-haiku-4-5, claude-sonnet-4-5, claude-sonnet-4,
  claude-opus-4-5.
@saschabuehrle saschabuehrle merged commit ce08c3a into main Feb 16, 2026
19 checks passed
@saschabuehrle saschabuehrle deleted the feat/n8n-tool-validation-domain-verifiers branch February 16, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant