UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

18 lines (17 loc) 703 B
import { BotonicContext } from '@botonic/core'; import { InferenceResponse } from '@botonic/shared'; import { FlowAiAgentBase } from './flow-ai-agent-base'; import { HtAiAgentNode } from './hubtype-fields/ai-agent'; import { FlowContent } from './index'; export declare class FlowAiAgent extends FlowAiAgentBase { activeTools?: { name: string; }[]; sources?: { id: string; name: string; }[]; static fromHubtypeCMS(component: HtAiAgentNode): FlowAiAgent; getAIAgentResponse(botonicContext: BotonicContext, previousContents?: FlowContent[]): Promise<InferenceResponse | undefined>; trackAiAgentResponse(botonicContext: BotonicContext): Promise<void>; }