Skip to content
0

katanakit-js / AgentRunOptions

Interface: AgentRunOptions ​

Defined in: src/types/index.ts:875

Options for running the tool-calling agent loop.

Extends ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
history?{ content: string | null; name?: string; role: "system" | "user" | "assistant" | "tool"; tool_call_id?: string; tool_calls?: { function: { arguments: string; name: string; }; id: string; type: "function"; }[]; }[]Prior conversation (system messages are ignored; a system prompt is prepended).-src/types/index.ts:879
maxSteps?number--src/types/index.ts:877
maxTokens?number-AiChatOptions.maxTokenssrc/types/index.ts:841
signal?AbortSignal-AiChatOptions.signalsrc/types/index.ts:843
systemPrompt?stringOverrides the provider systemPrompt for this request.AiChatOptions.systemPromptsrc/types/index.ts:845
temperature?number-AiChatOptions.temperaturesrc/types/index.ts:840
tools?AiTool[]--src/types/index.ts:876
topP?number-AiChatOptions.topPsrc/types/index.ts:842

Released under the MIT License.