@botonic/plugin-flow-builder
Version:
Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.
26 lines (25 loc) • 683 B
TypeScript
import { VerbosityLevel } from '@botonic/shared';
import { HtBaseNode } from './common';
import { HtNodeWithContentType } from './node-types';
export interface HtInputGuardrailRule {
name: string;
description: string;
is_active: boolean;
}
export interface HtAiAgentNode extends HtBaseNode {
type: HtNodeWithContentType.AI_AGENT;
content: {
name: string;
instructions: string;
model: string;
verbosity: VerbosityLevel;
active_tools?: {
name: string;
}[];
input_guardrail_rules?: HtInputGuardrailRule[];
sources?: {
id: string;
name: string;
}[];
};
}