agentic-gpt #1

Merged
Harvmaster merged 3 commits from agentic-gpt into main 2026-02-04 15:36:15 +11:00
10 changed files with 1159 additions and 276 deletions
Showing only changes of commit 6ed0977553 - Show all commits

View File

@@ -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