mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-05 20:34:17 +01:00
cockpit: the Load window reads the embeddings lane's size, Inkling's limits in the cockpit's test and opencode's page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d24a92b2fb
commit
fc70eb4777
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -151,7 +151,7 @@ Do not want any of it? `./install.sh --no-opencode` (one-liner: `| bash -s -- --
|
||||
What the shipped config gets right for you:
|
||||
|
||||
1. **The hidden 32K output cap**: opencode sends `max_tokens = min(limit.output, OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX or 32000)`. Without that env var, a long thinking phase hits 32000 tokens, the turn ends silently (`finish_reason: length`, no text, no tool call) and you have to re-prompt. The installer ships an **`oc` launcher** (`~/.local/bin/oc`, skipped if an unrelated `oc` binary exists) that exports the right value and execs `opencode --yolo`: launch with `oc` instead of `opencode` and the cap sits above every output limit this repo declares, on every target and in either context mode. It is deliberately a ceiling rather than the installed target's own number, because `limit.output` is what follows a model switch: a ceiling copied from the installed target survives the switch and cuts the next lane's turn in the same silence (`./oc-limits.sh --max-out` is where both installers read it). Note that opencode's defaults already run every tool, the shell included, without asking, and `--yolo` also approves what would ask (how the reference box runs): for a prompt before each shell command, put `"*": "ask"` in the `"bash"` object of your config and start plain `opencode` ([agents and the network](agents-and-network.md)).
|
||||
2. **Limits that can never 400**: the server rejects any request where `input + max_tokens` exceeds the window (no clamping), and the prompt opencode sends can reach its compaction point (`limit.input` minus 20,000) plus one agent step (up to 43,863 tokens measured on this box). So the config ships `context/input 173000, output 64000` in native mode (173,000 - 20,000 + 43,863 + 64,000 = 260,863, under 262,144, whether the 32K cap is lifted or not), `205000/32000` on the flash lane (and on the Liquid AI LFM3 lane, whose window is the same 262,144), `74000/32000` on the Liquid AI LFM2.5 24B-A2B lane, whose window is 131,072 (74,000 - 20,000 + 43,863 + 32,000 = 129,863), `871000/32000` on the Inkling 2 Mini lane, whose pool of 1,196,960 tokens measured at a window of 1,048,576 decides (959,000 + 32,000 under that pool less the proxy's 8 % and 10 % for a smaller boot, 991,082), and `700000/200000` in 1m mode as a starting pair. Until v1.18.7 the native pair was 194048/64000 and the flash one 225000/32000: both fitted a prompt of exactly `context`, not the one a large step brings past compaction, so a request in that band got a 400 that opencode then compacted on. The 1m pair is a starting pair, which the installer then fits to the pool the boot actually got (`oc-fit-limits.py`, after step 9): the pool changes from boot to boot (832,993 to 922,094 tokens over sixteen 27B boots on the reference box), and that pair does not fit the smaller ones. Since v1.18.2 the cockpit does the same fit by itself after a switch and a Start. Both fits hold the same window rule, and on a 262,144 window they never go above the lane's pair above (v1.18.7); on the Inkling 2 Mini lane, whatever its window, the fit keeps its pair's 32,000 of output as a ceiling, as its card recommends limits on output tokens (v1.59.0).
|
||||
2. **Limits that can never 400**: the server rejects any request where `input + max_tokens` exceeds the window (no clamping), and the prompt opencode sends can reach its compaction point (`limit.input` minus 20,000) plus one agent step (up to 43,863 tokens measured on this box). So the config ships `context/input 173000, output 64000` in native mode (173,000 - 20,000 + 43,863 + 64,000 = 260,863, under 262,144, whether the 32K cap is lifted or not), `205000/32000` on the flash lane (and on the Liquid AI LFM3 lane, whose window is the same 262,144), `74000/32000` on the Liquid AI LFM2.5 24B-A2B lane, whose window is 131,072 (74,000 - 20,000 + 43,863 + 32,000 = 129,863), `959000/32000` on the Inkling 2 Mini lane, whose pool of 1,196,960 tokens measured at a window of 1,048,576 decides (959,000 + 32,000 under that pool less the proxy's 8 % and 10 % for a smaller boot, 991,082), and `700000/200000` in 1m mode as a starting pair. Until v1.18.7 the native pair was 194048/64000 and the flash one 225000/32000: both fitted a prompt of exactly `context`, not the one a large step brings past compaction, so a request in that band got a 400 that opencode then compacted on. The 1m pair is a starting pair, which the installer then fits to the pool the boot actually got (`oc-fit-limits.py`, after step 9): the pool changes from boot to boot (832,993 to 922,094 tokens over sixteen 27B boots on the reference box), and that pair does not fit the smaller ones. Since v1.18.2 the cockpit does the same fit by itself after a switch and a Start. Both fits hold the same window rule, and on a 262,144 window they never go above the lane's pair above (v1.18.7); on the Inkling 2 Mini lane, whatever its window, the fit keeps its pair's 32,000 of output as a ceiling, as its card recommends limits on output tokens (v1.59.0).
|
||||
3. **Reasoning-effort variants**: the generated config declares `lean`, `low`, `medium` and `xhigh` variants (ctrl+t in the TUI), `lean` first because it is what a turn that picks none gets: the patched template's default since v1.13, measured in [LEAN.md](../LEAN.md) (`LEAN_DEFAULT=0 ./install.sh` keeps Qwen's `xhigh` as the default and still offers `lean`). This works because the patched template accepts `lean` and maps other clients' effort tiers (`max`/`high` → `xhigh`, `minimal` → `low`, [contributed by helge](https://forums.developer.nvidia.com/t/380257/10)); any client sending an unmapped tier would get a 500 on the stock template.
|
||||
4. **Mid-conversation system messages**: some agent clients inject system messages after turn 1, and opencode 1.19.4 sends two before the first user message; the stock template raises `System message must be at the beginning`. Patched to render them as `<system-reminder>` blocks, on every lane whose template raises it: the 27B, the two flash lanes and, since v1.40.2, Ornith.
|
||||
5. **Vision declared**: `attachment` + `modalities` are set, so image attachments and on-disk image reads work end to end (the model is natively multimodal). The two Liquid AI lanes read no image, and their providers declare text only.
|
||||
|
||||
Reference in new issue
Block a user