Fix import in index
This commit is contained in:
10
src/index.ts
10
src/index.ts
@@ -3,14 +3,14 @@ export {
|
|||||||
type GPTConfig,
|
type GPTConfig,
|
||||||
type GPTRequest,
|
type GPTRequest,
|
||||||
type Message,
|
type Message,
|
||||||
type GPTEventMap
|
type GPTEventMap,
|
||||||
} from './gpt/gpt.js'
|
} from './gpt/gpt.js'
|
||||||
|
|
||||||
export {
|
export {
|
||||||
AgenticGPT,
|
AgenticGPT,
|
||||||
type ToolFunction,
|
type ToolFunction,
|
||||||
type ToolRegistration,
|
type ToolRegistration,
|
||||||
type AgenticOptions
|
type AgenticOptions,
|
||||||
} from './gpt/agentic-gpt.js';
|
} from './gpt/agentic-gpt.js';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
@@ -21,9 +21,13 @@ export {
|
|||||||
type ToolCall,
|
type ToolCall,
|
||||||
type ToolCallDelta,
|
type ToolCallDelta,
|
||||||
type JSONSchema,
|
type JSONSchema,
|
||||||
type GPTResponse
|
type GPTResponse,
|
||||||
} from './gpt/gpt-response.js';
|
} 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
|
* Examples demonstrating the different usage patterns
|
||||||
* Uncomment the example you want to run
|
* Uncomment the example you want to run
|
||||||
|
|||||||
Reference in New Issue
Block a user