feat(qa): add synthesis conversations with source retention (#52)
This commit is contained in:
@ -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()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user