File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { z } from 'zod';
33import zodToJsonSchema from 'zod-to-json-schema' ;
44
55import { HelperTools } from '../const.js' ;
6- import type { ActorTool , InternalTool , ToolEntry } from '../types' ;
6+ import type { InternalTool , ToolEntry } from '../types' ;
77import { getActorsAsTools } from './actor.js' ;
88import { actorNameToToolName } from './utils.js' ;
99
@@ -86,7 +86,11 @@ export const addTool: ToolEntry = {
8686 return {
8787 content : [ {
8888 type : 'text' ,
89- text : `Actor added: ${ toolsAdded . map ( ( t ) => `${ ( t . tool as ActorTool ) . actorFullName } (tool name: ${ t . tool . name } )` ) . join ( ', ' ) } ` ,
89+ text : `Actor ${ parsed . actorName } has been added. Newly available tools: ${
90+ toolsAdded . map (
91+ ( t ) => `${ t . tool . name } ` ,
92+ ) . join ( ', ' )
93+ } .`,
9094 } ] ,
9195 } ;
9296 } ,
You can’t perform that action at this time.
0 commit comments