补充工具

This commit is contained in:
ACT丶流星雨 2026-03-26 23:06:16 +08:00
parent 78f085709b
commit 43f610bcfd
3 changed files with 1052 additions and 1050 deletions

File diff suppressed because one or more lines are too long

View File

@ -104,6 +104,7 @@ export async function supervisionAI(ctx: AgentContext) {
abortSignal,
tools: {
...skill.tools,
...useTools(ctx.resTool),
},
onFinish: async (completion) => {
await memory.add("assistant:supervision", completion.text);

View File

@ -122,6 +122,7 @@ export async function supervisionAI(ctx: AgentContext) {
abortSignal,
tools: {
...skill.tools,
...useTools(ctx.resTool),
},
onFinish: async (completion) => {
await memory.add("assistant:supervision", completion.text);