diff --git a/apps/api/src/app/endpoints/ai/ai.service.spec.ts b/apps/api/src/app/endpoints/ai/ai.service.spec.ts index 25ca009416..549bdcef35 100644 --- a/apps/api/src/app/endpoints/ai/ai.service.spec.ts +++ b/apps/api/src/app/endpoints/ai/ai.service.spec.ts @@ -197,7 +197,7 @@ describe('AiService', () => { ); }); - it('Restricts the routing to endpoints with zero data retention and passes a PDF file to the model itself', async () => { + it('Restricts the routing to endpoints with zero data retention, disables the reasoning and passes a PDF file to the model itself', async () => { await aiService.getActivityRowsFromFile({ file: { buffer: Buffer.from('%PDF-1.7'), mediaType: 'application/pdf' }, locale: 'de-CH' @@ -206,6 +206,7 @@ describe('AiService', () => { expect(chat).toHaveBeenCalledWith('vision-model', { plugins: [{ id: 'file-parser', pdf: { engine: 'native' } }], provider: { require_parameters: true, zdr: true }, + reasoning: { effort: 'none' }, usage: { include: true } }); });