2 Commits
Author SHA1 Message Date
Hermes 83a56eb11d tests: wait for a port instead of sleeping before it
Run 13 failed the whole cache section with six checks and no listener: the
router was started with "sleep 0.8" and curl asked too early. The same fixed
sleep sat in front of a dozen other routers and stubs. Every one now waits for
its port (wait_port), and the two checks that need a listener to be *absent*
(mesh without a secret, roll3 without SO_REUSEPORT) wait for their log line
(wait_log) instead of hoping the message is there after 0.6 s.

Same checks, no fixed windows left before a listener; the suite is also faster
because it no longer sleeps through them. Full run: 537 OK, 0 FAIL, PASS.
2026-11-19 06:59:55 +00:00
Hermes 883f111756 ctx: Fallback auf ds41flash, wenn kein Regel-Ziel den Kontext fasst
- global `ctx_fallback <pool> [as <model>]`
- passt ctx + max_tokens in kein Ziel der gewählten Regel, wird der Pool
  stattdessen versucht; das Modell kommt aus dem `as` des Pool-Members oder
  aus dem Modell der Direktive.
- der Fallback wird als ctx_fallback geloggt; ohne Konfiguration bleibt es
  beim bisherigen 503.
- Test mit kleinem und großem Stub deckt den Treffer und den Fallback ab.
2026-11-17 08:39:27 +00:00