Skip to content

Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base

fix lint

Hugo Richard12b7a6b25514
diff --git a/apps/chat/server/utils/agent/create-agent.test.ts b/apps/chat/server/utils/agent/create-agent.test.ts
index 96ae05c..2378972 100644
--- a/apps/chat/server/utils/agent/create-agent.test.ts
+++ b/apps/chat/server/utils/agent/create-agent.test.ts
@@ -23,15 +23,11 @@ describe('compactContext', () => {
{ role: 'user', content: [{ type: 'text', text: 'first' }] },
{
role: 'assistant',
- content: [
- { type: 'tool-call', toolName: 'bash', input: { command: 'ls -la' }, toolCallId: '1' },
- ],
+ content: [{ type: 'tool-call', toolName: 'bash', input: { command: 'ls -la' }, toolCallId: '1' }],
},
{
role: 'tool',
- content: [
- { type: 'tool-result', toolName: 'bash', output: 'x'.repeat(120_000), toolCallId: '1' },
- ],
+ content: [{ type: 'tool-result', toolName: 'bash', output: 'x'.repeat(120_000), toolCallId: '1' }],
},
{ role: 'user', content: [{ type: 'text', text: 'second' }] },
{ role: 'assistant', content: [{ type: 'text', text: 'done' }] },
diff --git a/savoir.config.ts b/savoir.config.ts
index 820799c..3f21f07 100644
--- a/savoir.config.ts
+++ b/savoir.config.ts
@@ -58,4 +58,4 @@ export default {
{ id: 'learn-vue', label: 'LearnVue', channelId: 'UCGwuxdEeCf0TIA2RbPOj-8g', handle: '@LearnVue', maxVideos: 50 },
],
},
-})
+}