@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
29 lines (28 loc) • 1.21 kB
TypeScript
import type { string_book } from '../../book-2.0/agent-source/string_book';
import type { CommonToolsOptions } from '../../execution/CommonToolsOptions';
import type { LlmExecutionTools } from '../../execution/LlmExecutionTools';
import type { OpenAiAgentKitExecutionTools } from '../openai/OpenAiAgentKitExecutionTools';
import type { OpenAiAssistantExecutionTools } from '../openai/OpenAiAssistantExecutionTools';
/**
* Options for creating AgentLlmExecutionTools
*/
export type CreateAgentLlmExecutionToolsOptions = CommonToolsOptions & {
/**
* The underlying LLM execution tools to wrap
*/
llmTools: LlmExecutionTools | OpenAiAssistantExecutionTools | OpenAiAgentKitExecutionTools;
/**
* How to manage OpenAI assistant/AgentKit preparation when using OpenAiAssistantExecutionTools
* or OpenAiAgentKitExecutionTools.
*
* Use `external` when an external cache manager already created the assistant/AgentKit agent
* and the agent should use it as-is.
*
* @default internal
*/
assistantPreparationMode?: 'internal' | 'external';
/**
* The agent source string that defines the agent's behavior
*/
agentSource: string_book;
};