SurfSense/surfsense_web/atoms
MODSetter b7ad5ecfff feat(models): drop catalogue models that cannot serve a turn
Passing OpenRouter's metadata filters does not prove a model can complete a
turn through this harness, so dead-but-advertised models kept reaching users
and failing mid-stream. A new model_compatibility table holds one verdict per
model, a weekly Celery sweep re-probes stale entries, and catalogue
generation reads the blocked ids back so those models are never offered.
Also excludes :batch variants, which advertise full chat metadata and then
reject completions outright.

Auto-pin now falls through to Auto when an explicitly selected global config
is absent from the current worker's catalogue. Returning it handed
load_llm_bundle an id it could not resolve, ending the turn with SERVER_ERROR
on one of the four uvicorn workers while the identical request succeeded on
the others. Catalogue refresh also re-materializes GLOBAL_MODELS, which
previously kept its boot snapshot until restart.

On the web side a single dropped connection surfaced as one toast per
in-flight query and dozens of PostHog exceptions, with no retry button.
Network errors now share a toast id, are deduped per endpoint before capture,
carry host and online context, and count as retryable.

Consolidates the model filter helpers duplicated between the model list and
OpenRouter services into openrouter_model_normalizer, renames OoxmlDefect to
OoxmlError, and includes a ruff format and import-order pass.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 18:59:11 +05:30
..
agent fix(web):refresh dashboard session queries 2026-06-23 13:01:41 +05:30
agent-tools feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
auth Refactor register page 2025-11-17 08:10:12 +02:00
automations feat(backend): integrate PostHog analytics for enhanced observability 2026-07-22 22:16:28 -07:00
chat feat(artifacts): enhance artifact panel state management and UI interactions 2026-08-14 12:06:34 +05:30
chat-comments fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
citation chore: linting 2026-07-24 14:30:46 -07:00
connector-dialog feat: docs and ui tweaks 2026-07-06 19:26:35 -07:00
connectors feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
documents Merge dev_hotpatch into dev 2026-08-06 17:52:17 +02:00
editor feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
folder-sync feat: improve Obsidian connector visibility and desktop sync flow 2026-04-14 19:07:14 +09:30
inbox feat: implement batch unread counts for notifications to reduce API calls and improve performance 2026-03-10 01:26:37 -07:00
invites feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
layout feat(layout): mount artifact panel 2026-08-06 19:38:17 +05:30
logs feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
members feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
model-connections feat(model-connections): enhance error handling for provider responses and improve model discovery validation 2026-08-03 18:24:39 +05:30
permissions feat: add cache keys and permissions query atom for RBAC 2025-12-16 09:07:33 +00:00
prompts fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
public-chat-snapshots feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
roles feat: implement ensure_publication for zero_publication management 2026-07-05 23:17:13 -07:00
tabs chore: linting 2026-07-24 14:30:46 -07:00
ui fix: remove message from loading UI 2026-01-27 15:28:30 +05:30
user feat(models): drop catalogue models that cannot serve a turn 2026-08-14 18:59:11 +05:30
workspaces feat(workspaces): implement workspace limits feature with backend integration and UI updates 2026-07-16 15:44:49 +05:30