Allow to change the agents name + Workspace files
Rolling release / release (push) Successful in 8m2s
Rolling release / release (push) Successful in 8m2s
This commit is contained in:
Vendored
+2
-2
@@ -132,12 +132,12 @@ function testPrompts() {
|
||||
extra: 'You are Jarvis, a local Ubuntu GNOME voice assistant.',
|
||||
cwd: '/tmp/jarvis',
|
||||
hostWorkspace: true,
|
||||
fsRead: () => '# AGENTS.md\nFollow coding-agent rules.',
|
||||
fsRead: (_c, n) => (n === 'AGENTS.md' ? '# AGENTS.md\nFollow Jarvis workspace rules.' : ''),
|
||||
});
|
||||
assert.ok(voice.indexOf('You are Jarvis') >= 0);
|
||||
assert.ok(voice.indexOf(prompts.DEFAULT_SYSTEM) < 0);
|
||||
assert.ok(voice.indexOf('coding agent') < 0);
|
||||
assert.ok(voice.indexOf('AGENTS.md') < 0);
|
||||
assert.ok(voice.indexOf('AGENTS.md') >= 0);
|
||||
assert.ok(voice.indexOf('Current workspace:') >= 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user