@botonic/plugin-flow-builder
Version:
Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.
22 lines (21 loc) • 691 B
TypeScript
import { VerbosityLevel } from '@botonic/shared';
import { HtInputGuardrailRule } from './ai-agent';
import { HtBaseNode, HtNodeLink } from './common';
import { HtNodeWithContentType } from './node-types';
export interface HtAiAgentSpecialistNode {
id: string;
target: HtNodeLink;
name?: string;
description?: string;
}
export interface HtAiAgentRouterNode extends HtBaseNode {
type: HtNodeWithContentType.AI_AGENT_ROUTER;
content: {
name: string;
instructions: string;
model: string;
verbosity: VerbosityLevel;
available_specialists: HtAiAgentSpecialistNode[];
input_guardrail_rules?: HtInputGuardrailRule[];
};
}