UNPKG

@nestbox-ai/cli

Version:

The cli tools that helps developers to build agents

19 lines (18 loc) 763 B
import type { DocProcAgentResult } from './anthropic'; export type { DocProcAgentResult }; export interface DocProcOpenAIAgentOptions { /** 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; /** Maximum tokens per model response */ maxTokens?: number; /** Called on each status update (for spinner / logging) */ onProgress?: (message: string) => void; } export declare const DEFAULT_MODEL = "gpt-4o"; export declare function runDocProcAgentWithOpenAI(options: DocProcOpenAIAgentOptions): Promise<DocProcAgentResult>;