AI-admin: tving refresh ved katalog-lasting for å unngå stale cache
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f32aa63bc3
commit
c3d81b97fe
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@
|
|||
catalogLoading = true;
|
||||
errorMsg = '';
|
||||
try {
|
||||
const res = await fetch('/api/admin/ai/models');
|
||||
const res = await fetch('/api/admin/ai/models?refresh=1');
|
||||
if (!res.ok) throw new Error('Kunne ikke hente modellkatalog');
|
||||
catalogModels = await res.json();
|
||||
catalogLoaded = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue