BREAKING CHANGE(api): Migrate public API to ai-sdk v6 and refactor core agent architecture: replace class-based DualAgent/Driver/Guardian with a single runAgent function; introduce ts_tools factories for tools, a compactMessages compaction subpath, and truncateOutput utility; simplify ToolRegistry to return ToolSet and remove legacy BaseToolWrapper/tool classes; update package exports and dependencies and bump major version.
This commit is contained in:
6
ts_compaction/plugins.ts
Normal file
6
ts_compaction/plugins.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { generateText } from 'ai';
|
||||
|
||||
export { generateText };
|
||||
|
||||
export type { ModelMessage } from 'ai';
|
||||
export type { LanguageModelV3 } from '@push.rocks/smartai';
|
||||
Reference in New Issue
Block a user