refactor: describe memory without the .mind file and knowledge graph (P1.5)
Memory lives in the mem0 store and the knowledge graph is not in v1 (ADR-0002, ADR-0007). - The CLI system prompt listed query_knowledge, a tool the community edition does not register. It now lists search_all_workspaces, which the orchestrator does provide. - The default identity no longer claims "persistent memory (.mind file)" or "knowledge graph queries".
This commit is contained in:
@@ -636,6 +636,9 @@ describe('@waggle/cli runtime UX', () => {
|
||||
expect(chatRequest?.body.stream).toBe(true);
|
||||
expect(chatRequest?.body.stream_options).toEqual({ include_usage: true });
|
||||
expect(JSON.stringify(chatRequest?.body.messages)).toContain('Say hello from the installed CLI test.');
|
||||
// The system prompt names only tools the CLI registers; the knowledge graph is not in v1.
|
||||
expect(JSON.stringify(chatRequest?.body.messages)).toContain('search_all_workspaces');
|
||||
expect(JSON.stringify(chatRequest?.body.messages)).not.toContain('query_knowledge');
|
||||
expect(child.exitCode).toBe(0);
|
||||
expect(stdout).toContain('Model:');
|
||||
expect(stdout).toContain('mock-model');
|
||||
|
||||
Reference in New Issue
Block a user