You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
背景和问题
当前 tools 系统的主要问题:
toolSelectors.enabledSchema()和ChatService.prepareTools()逻辑分散核心设计思想
创建一个注入式的
ToolsEngine,统一处理pluginIds → ChatCompletionTool[]的转换:核心接口设计
类型定义
ToolsEngine 核心类
使用示例
基础使用
替换现有实现
实施步骤
packages/context-engine/src/tools/下实现核心类prepareTools实现enabledSchema进展
Beta Was this translation helpful? Give feedback.
All reactions