S.H.O.N.A.R._Desktop_Companion/backend/shonar/core
avi 3061629dc5 Summarize: LAN primary with local-Ollama rescue + in-app failure guidance
- Engine: when the primary summarizer is out of retries (or misconfigured),
  run_summarize now finishes the job on the configured rescue provider
  (SHONAR_LLM_FALLBACK_*), tags the summary with the provider that wrote it,
  and stores a human note in job.error; success clears stale notes.
- App (auto/lan): passes Ollama as the rescue provider when it is up.
- Detail screen: shows the rescue-swap note in plain words, a red
  'Summary failed' line with Settings -> Summarizer fix instructions and a
  Retry summary button on hard failure.
- Settings copy explains the fallback. 3 new pytest cases (14/14 pass);
  live E2E on 2026-09-18: sarcastic summary v6 via LAN on attempt 2.
2026-09-17 21:44:02 -05:00
..
__init__.py Standalone Shonar Desktop: vendor portable sources + local engine; decouple from ~/Projects/Shonar 2026-09-14 17:14:54 -05:00
config.py Summarize: LAN primary with local-Ollama rescue + in-app failure guidance 2026-09-17 21:44:02 -05:00
ratelimit.py Standalone Shonar Desktop: vendor portable sources + local engine; decouple from ~/Projects/Shonar 2026-09-14 17:14:54 -05:00
security.py Standalone Shonar Desktop: vendor portable sources + local engine; decouple from ~/Projects/Shonar 2026-09-14 17:14:54 -05:00