mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
feat: subagent creation dialog - continued
This commit is contained in:
@@ -539,7 +539,7 @@ export class SubagentManager {
|
||||
* @param level - Storage level
|
||||
* @returns Absolute file path
|
||||
*/
|
||||
private getSubagentPath(name: string, level: SubagentLevel): string {
|
||||
getSubagentPath(name: string, level: SubagentLevel): string {
|
||||
const baseDir =
|
||||
level === 'project'
|
||||
? path.join(this.projectRoot, QWEN_CONFIG_DIR, AGENT_CONFIG_DIR)
|
||||
|
||||
@@ -193,7 +193,7 @@ describe('MemoryTool', () => {
|
||||
|
||||
it('should have correct name, displayName, description, and schema', () => {
|
||||
expect(memoryTool.name).toBe('save_memory');
|
||||
expect(memoryTool.displayName).toBe('Save Memory');
|
||||
expect(memoryTool.displayName).toBe('SaveMemory');
|
||||
expect(memoryTool.description).toContain(
|
||||
'Saves a specific piece of information',
|
||||
);
|
||||
|
||||
@@ -242,7 +242,7 @@ describe('TodoWriteTool', () => {
|
||||
});
|
||||
|
||||
it('should have correct display name', () => {
|
||||
expect(tool.displayName).toBe('Todo Write');
|
||||
expect(tool.displayName).toBe('TodoWrite');
|
||||
});
|
||||
|
||||
it('should have correct kind', () => {
|
||||
|
||||
Reference in New Issue
Block a user