Development record
abcd cannot hold an OpenRouter call to one named upstream provider, and it records only part of what served it.
issueresolvedminoriss-2610161734413178
abcd cannot hold an OpenRouter call to one named upstream provider, and it records only part of what served it.
- Tool-using roles go through opencode, which abcd does not configure. The opencode runner passes only
--model(internal/core/runner/opencode.go,args); the provider, its routing and any fallback come from the person's own opencode configuration. So a builder or reviewer copy routed to OpenRouter can be served by another upstream provider, or a differently quantised endpoint, without abcd knowing. - The adapter path pins nothing either. The OpenAI-compatible adapter passes seven sampling settings and no provider routing object; provider routing was out of scope for itd-2609081951381895. It does record the model the provider reported (internal/core/oracle/call.go,
ModelReported), but not the upstream provider, fallback attempts, token counts or cost. - Reading the served side needs the key. OpenRouter's generation record is fetched with the account's key, which for the opencode path is held in the person's opencode configuration, not in abcd's credential store; the remedy must read it through the one credential reader or not at all.
A model-matrix run (itd-2610161733316518) cannot pin a cell or show drift without both. Providing a pin refines the out-of-scope line of itd-2609081951381895; the product thinker's request for reproducible OpenRouter cells is the ground.
Frontmatter
| id | iss-2610161734413178 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2610161734413178-abcd-cannot-hold-an-openrouter-call-to.md
open on GitHub ↗ · commit history ↗
References1
- itd-2610161733316518One task done across a model matrix, re-runnablyrelated
mentions3
- itd-166A run records what it was actually run with
- itd-2609081951381895abcd ships an OpenAI-compatible API adapter, and a provider serves only the models it lists
- spc-2610161949559050a-product-thinker-who-wants-to-know