feat(qa): add synthesis conversations with source retention (#52)

This commit is contained in:
2026-11-25 19:46:06 +01:00
parent 90dd2a65d2
commit 287811184f
49 changed files with 2636 additions and 47 deletions

View File

@ -49,7 +49,7 @@ describe('choix personnel du modèle de synthèse — ticket #14', () => {
expect(within(selector).getByRole('option', { name: 'Ollama · qwen-summary' })).toBeInTheDocument()
await user.selectOptions(selector, 'model-b')
await user.click(screen.getByRole('button', { name: 'Enregistrer' }))
expect(updatePreferences).toHaveBeenCalledWith({ language: 'fr', ranking_mode: 'title_content', summary_model_id: 'model-b', summary_prompt_token_budget: 250000 })
expect(updatePreferences).toHaveBeenCalledWith({ language: 'fr', ranking_mode: 'title_content', summary_model_id: 'model-b', summary_prompt_token_budget: 250000, source_article_retention_days: 7 })
expect(listSummaryModels).toHaveBeenCalledOnce()
})