diff --git a/src/index.ts b/src/index.ts index 0d60eda..2782720 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,29 +1,33 @@ export { GPT, - type GPTConfig, - type GPTRequest, - type Message, - type GPTEventMap + type GPTConfig, + type GPTRequest, + type Message, + type GPTEventMap, } from './gpt/gpt.js' -export { +export { AgenticGPT, type ToolFunction, type ToolRegistration, - type AgenticOptions + type AgenticOptions, } from './gpt/agentic-gpt.js'; -export { +export { GPTResponseIterator, - type MessageChunk, - type FinalResult, - type ToolDefinition, - type ToolCall, + type MessageChunk, + type FinalResult, + type ToolDefinition, + type ToolCall, type ToolCallDelta, type JSONSchema, - type GPTResponse + type GPTResponse, } from './gpt/gpt-response.js'; +import { GPT } from './gpt/gpt.js'; +import { AgenticGPT } from './gpt/agentic-gpt.js'; +import type { ToolDefinition } from './gpt/gpt-response.js'; + /** * Examples demonstrating the different usage patterns * Uncomment the example you want to run