mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
update: use sub-command to switch between project and global memory ops
This commit is contained in:
parent
300881405a
commit
380afc53cb
2 changed files with 133 additions and 7 deletions
|
|
@ -132,7 +132,7 @@ describe('memoryCommand', () => {
|
|||
expect(mockContext.ui.addItem).toHaveBeenCalledWith(
|
||||
{
|
||||
type: MessageType.INFO,
|
||||
text: `Attempting to save to memory: "${fact}"`,
|
||||
text: `Attempting to save to memory : "${fact}"`,
|
||||
},
|
||||
expect.any(Number),
|
||||
);
|
||||
|
|
@ -228,7 +228,7 @@ describe('memoryCommand', () => {
|
|||
|
||||
mockContext = createMockCommandContext({
|
||||
services: {
|
||||
config: Promise.resolve(mockConfig),
|
||||
config: mockConfig,
|
||||
settings: {
|
||||
merged: {
|
||||
memoryDiscoveryMaxDirs: 1000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue