One general construction door: lm[]: blocks in config.yaml (provider inherits base_url+ceiling; model builds a dedicated cached LM; other keys -> per-call lm_kwargs). predict() swapped at the 13 construction sites. First block: ExtractSignature max_tokens=1800. run.log lists active blocks at startup. Tests: lm_signature_router 5/5; suite 23 files green.
One general construction door: lm[<SigName>]: blocks in config.yaml (provider inherits base_url+ceiling; model builds a dedicated cached LM; other keys -> per-call lm_kwargs). predict() swapped at the 13 construction sites. First block: ExtractSignature max_tokens=1800. run.log lists active blocks at startup. Tests: lm_signature_router 5/5; suite 23 files green.
His ask: one general construction door so a signature's model/settings
change by editing config alone — no call-site ifs, now or ever after.
lm[ExtractSignature]: as a config.yaml sibling of lm: (provider:
inherits base_url + transport ceiling; model: builds a dedicated
cached LM; other keys -> per-call lm_kwargs through Predict config,
honored by dspy 3.4.1 _forward_preprocess). predict() is the door: the
13 construction sites swapped mechanically. First block shipped:
ExtractSignature max_tokens=1800 (the 4096 cap was 3x headroom that
only extended the worst case on slow local models — the 40-min
arithmetic). run.log reports active blocks at startup. TDD:
tests/lm_signature_router.py 5/5 (parse, no-block defaults,
settings-only override, dedicated+cached LM, provenance listing).
onibot
merged commit 95dfdf7123 into main2026-10-26 16:37:14 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
One general construction door: lm[]: blocks in config.yaml (provider inherits base_url+ceiling; model builds a dedicated cached LM; other keys -> per-call lm_kwargs). predict() swapped at the 13 construction sites. First block: ExtractSignature max_tokens=1800. run.log lists active blocks at startup. Tests: lm_signature_router 5/5; suite 23 files green.