Files
OmniRoute/open-sse
Automation 69dc6d0249 fix(combos): repair context handoff ordering and add per-model timeout
Root cause: recordSessionModelUsage was called BEFORE getLastSessionModel,
so prevModel always matched the current modelStr — handoff summaries were
never generated when auto-routing switched models.

Fix: call getLastSessionModel first (captures actual previous model),
generate handoff on mismatch, then record the new model for next time.

Also:
- ORDER BY id DESC in session_model_history query (deterministic vs
  used_at which has second-precision ties)
- 30s per-model timeout for combo routing (default FETCH_TIMEOUT_MS
  is 600s, too long for combo fallback scenarios)
2026-05-25 22:13:23 +02:00
..
2026-05-24 18:05:58 -03:00
2026-05-24 18:05:58 -03:00
2026-05-24 18:05:58 -03:00
2026-05-21 01:29:12 -03:00
2026-05-23 01:46:59 -03:00
2026-05-23 01:46:59 -03:00
2026-05-24 18:05:58 -03:00
2026-05-23 01:46:59 -03:00
2026-05-24 18:05:58 -03:00
2026-04-19 19:50:30 -03:00