feat(n8n): tool call validation, domain verifiers, agent domain routing#125
Merged
saschabuehrle merged 3 commits intomainfrom Feb 16, 2026
Merged
Conversation
caf5f79 to
aab9469
Compare
…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.
51712df to
ea5612c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ToolCascadeValidatorbefore accepting them. Failed validation escalates to verifier. Gated behindenableToolCallValidationtoggle (default: off).{Domain} Verifier). During quality-check escalation, the domain-specific verifier is used when available.All new features are opt-in with
default: falsetoggles — fully backwards compatible.Test plan
pnpm test— 7/7 tests pass (2 test files)pnpm build— compiles cleanly (tsc + gulp icons)