 duffyduckandClaude Opus 4.8
|
c8b7ea322e
|
feat(router): B1a — lokale Fast-Lane (reden-only) mit Schaltern, gated (Default aus)
Zwischen Skill-Fast-Path und Claude-Loop: einfache Plauder-Turns → lokales Qwen
(schlanker Prompt, KEINE Tools) in <1 s; sonst Claude wie bisher.
- router.py: load_config() liest /shared/config/local_llm.json (enabled/localOnly/
toolVariant; Default enabled=false → alles Claude). should_try_local() Heuristik
(kurz + keine Tool-/Technik-Marker; localOnly erzwingt lokal). build_local_
system_prompt() = schlank (IDENTITY_ANCHOR + Schnell-Modus + Awareness-Liste +
<<ESCALATE>>-Regel, keine Tool-Schemas).
- agent.py: _try_local_fast_lane() — baut schlanken Prompt + Window, ruft
local_llm_chat; leer/ESCALATE → None (→ Claude), sonst Antwort + persistiert.
localOnly: kein Claude-Fallback (Eval), ehrliche Fehlermeldung bei Nichterreich.
In chat() nach User-Turn gated aufgerufen.
Heuristik lokal verifiziert (alle Testfaelle korrekt). Gated off → laufendes
Verhalten unveraendert bis Master-Schalter an. Diagnostic-Toggles (B1a-2) +
lokale Tools (B1b) folgen.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-11 11:55:29 +02:00 |
|