Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions packages/agent/src/core/toolAgent/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,3 @@ export * from './messageUtils.js';
export * from './toolExecutor.js';
export * from './tokenTracking.js';
export * from './types.js';

// Export default system prompt for convenience
export const getDefaultSystemPrompt = (context: Record<string, unknown>) => {
return `You are an AI agent that can use tools to accomplish tasks.

Current Context:
Directory: ${context.workingDirectory}
Files:
${context.directoryListing ?? 'No directory listing available'}
System: ${context.systemInfo ?? 'No system info available'}
DateTime: ${new Date().toString()}`;
};
1 change: 0 additions & 1 deletion packages/agent/src/tools/interaction/subAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export const subAgentTool: Tool<Parameters, ReturnType> = {
const result = await toolAgent(prompt, tools, config, {
...context,
workingDirectory: workingDirectory ?? context.workingDirectory,
customPrompt: context.customPrompt,
});
return { response: result.result };
},
Expand Down
Loading