feat: update Makelore modules and conversations
This commit is contained in:
@@ -78,6 +78,20 @@ describe('formatVisibleChatTranscript', () => {
|
||||
expect(markdown).not.toContain('2026-07-18');
|
||||
});
|
||||
|
||||
it('defaults the explicit answer-only mode to user messages and the final answer', () => {
|
||||
const markdown = formatVisibleChatTranscript(messages, {
|
||||
showThinking: true,
|
||||
showTimestamps: false,
|
||||
includeExecution: false,
|
||||
expandedToolIds: new Set(),
|
||||
});
|
||||
|
||||
expect(markdown).toContain('Inspect the attachment.');
|
||||
expect(markdown).toContain('Finished.');
|
||||
expect(markdown).not.toContain('Private chain fragment');
|
||||
expect(markdown).not.toContain('Tool: read');
|
||||
});
|
||||
|
||||
it('redacts alternate binary encodings, file URLs, IPv6 loopback, and additional absolute roots', () => {
|
||||
const base64Url = `${'a'.repeat(32)}-${'b'.repeat(32)}_${'c'.repeat(8)}`;
|
||||
const wrappedBase64 = `${'A'.repeat(40)}\n${'B'.repeat(40)}`;
|
||||
|
||||
Reference in New Issue
Block a user