feat: add DAVE adaptive synthetic persona
This commit is contained in:
@@ -26,6 +26,8 @@ test('Telegram AI chat uses bounded history and current intelligence context', a
|
||||
assert.equal(await assistant.reply('Explain the implications in detail', { chatId: 42 }), 'Second answer');
|
||||
|
||||
assert.match(calls[0].systemPrompt, /untrusted evidence/i);
|
||||
assert.match(calls[0].systemPrompt, /Your name is DAVE/);
|
||||
assert.match(calls[0].systemPrompt, /ADAPTIVE WRITING STYLE/);
|
||||
assert.match(calls[0].userMessage, /risk-off/);
|
||||
assert.deepEqual(calls[0].options, { maxTokens: 1024, timeout: 120000 });
|
||||
assert.match(calls[1].userMessage, /User: What changed today\?/);
|
||||
|
||||
Reference in New Issue
Block a user