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

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