File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,3 @@ export * from './messageUtils.js';
1212export * from './toolExecutor.js' ;
1313export * from './tokenTracking.js' ;
1414export * from './types.js' ;
15-
16- // Export default system prompt for convenience
17- export const getDefaultSystemPrompt = ( context : Record < string , unknown > ) => {
18- return `You are an AI agent that can use tools to accomplish tasks.
19-
20- Current Context:
21- Directory: ${ context . workingDirectory }
22- Files:
23- ${ context . directoryListing ?? 'No directory listing available' }
24- System: ${ context . systemInfo ?? 'No system info available' }
25- DateTime: ${ new Date ( ) . toString ( ) } ` ;
26- } ;
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ export const subAgentTool: Tool<Parameters, ReturnType> = {
100100 const result = await toolAgent ( prompt , tools , config , {
101101 ...context ,
102102 workingDirectory : workingDirectory ?? context . workingDirectory ,
103- customPrompt : context . customPrompt ,
104103 } ) ;
105104 return { response : result . result } ;
106105 } ,
You can’t perform that action at this time.
0 commit comments