UNPKG

@nestbox-ai/cli

Version:

The cli tools that helps developers to build agents

17 lines (16 loc) 736 B
import type { ReportComposerAgentResult } from './anthropic'; export type { ReportComposerAgentResult }; export interface ReportComposerOpenAIAgentOptions { /** Full instruction text (from the instructions file) */ instructions: string; /** OpenAI API key */ openAiApiKey: string; /** OpenAI model ID, e.g. "gpt-4o" */ model?: string; /** Maximum agentic iterations before giving up */ maxIterations?: number; /** Called on each status update (for spinner / logging) */ onProgress?: (message: string) => void; } export declare const DEFAULT_MODEL = "gpt-4o"; export declare function runReportComposerAgentWithOpenAI(options: ReportComposerOpenAIAgentOptions): Promise<ReportComposerAgentResult>;