thinkpool-pair 0.7.224 → 0.7.225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bridge.mjs +4 -1
- package/package.json +1 -1
package/bridge.mjs
CHANGED
|
@@ -1671,8 +1671,11 @@ function openStructured({ id, runtime = 'claude', model, effort, resume, log, co
|
|
|
1671
1671
|
// `claude-fable-5` → 400 [1211][Unknown Model]. One value, one truth.
|
|
1672
1672
|
// undefined → omit the SDK option entirely and let the provider env/endpoint default.
|
|
1673
1673
|
const codexModels = runtime === 'codex' ? readCodexModels() : []
|
|
1674
|
+
const codexRequestedModel = runtime === 'codex' ? (model || readCodexDefaultModel() || undefined) : undefined
|
|
1674
1675
|
const laneModel = runtime === 'codex'
|
|
1675
|
-
?
|
|
1676
|
+
? (codexRequestedModel
|
|
1677
|
+
? resolveCodexModel(codexRequestedModel, codexModels)
|
|
1678
|
+
: flowLaneModelFor({ sliceType: 'feature', runtime: 'codex', catalog: codexModels }))
|
|
1676
1679
|
: effectiveLaneModel({ provider, model, configuredModel: resolveProviderEnv(provider)?.ANTHROPIC_MODEL })
|
|
1677
1680
|
// spawnedBy: set when this lane was Dispatched (spawn_terminal). Restored from the
|
|
1678
1681
|
// session store so the Ensemble flag survives a bridge restart (else a respin
|