Skip to content

Commit 2492ace

Browse files
committed
tighten json ops docs and routing selection
1 parent 3ff0581 commit 2492ace

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/troubleshooting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ For machine-readable automation or CI checks, these read-only tools also accept
1919

2020
```text
2121
codex-status format="json"
22+
codex-limits format="json"
23+
codex-health format="json"
24+
codex-next format="json"
25+
codex-list format="json"
2226
codex-dashboard format="json"
2327
codex-metrics format="json"
2428
codex-doctor deep=true format="json"

index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4524,7 +4524,9 @@ while (attempted.size < Math.max(1, accountCount)) {
45244524
const explainabilityFamily =
45254525
runtimeMetrics.lastSelectionSnapshot?.family ?? "codex";
45264526
const explainabilityModel =
4527-
runtimeMetrics.lastSelectionSnapshot?.model ?? undefined;
4527+
runtimeMetrics.lastSelectionSnapshot?.effectiveModel ??
4528+
runtimeMetrics.lastSelectionSnapshot?.model ??
4529+
undefined;
45284530
const managerForExplainability =
45294531
cachedAccountManager ?? (await AccountManager.loadFromDisk());
45304532
const explainability = managerForExplainability.getSelectionExplainability(

0 commit comments

Comments
 (0)