补充工具
This commit is contained in:
parent
78f085709b
commit
43f610bcfd
2100
data/web/index.html
2100
data/web/index.html
File diff suppressed because one or more lines are too long
@ -104,6 +104,7 @@ export async function supervisionAI(ctx: AgentContext) {
|
|||||||
abortSignal,
|
abortSignal,
|
||||||
tools: {
|
tools: {
|
||||||
...skill.tools,
|
...skill.tools,
|
||||||
|
...useTools(ctx.resTool),
|
||||||
},
|
},
|
||||||
onFinish: async (completion) => {
|
onFinish: async (completion) => {
|
||||||
await memory.add("assistant:supervision", completion.text);
|
await memory.add("assistant:supervision", completion.text);
|
||||||
|
|||||||
@ -122,6 +122,7 @@ export async function supervisionAI(ctx: AgentContext) {
|
|||||||
abortSignal,
|
abortSignal,
|
||||||
tools: {
|
tools: {
|
||||||
...skill.tools,
|
...skill.tools,
|
||||||
|
...useTools(ctx.resTool),
|
||||||
},
|
},
|
||||||
onFinish: async (completion) => {
|
onFinish: async (completion) => {
|
||||||
await memory.add("assistant:supervision", completion.text);
|
await memory.add("assistant:supervision", completion.text);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user