Skip to content

Commit 095d240

Browse files
committed
fix(tui): clear critic nits on reconnecting-error wording
1 parent ac0aa4d commit 095d240

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/exec/runner.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,9 @@ export async function runExec(config: Config): Promise<ExecResult> {
846846
createExecToolCallGate(isAdvertised, {
847847
isCodex: isCodexProviderName(config.providerName),
848848
}),
849-
// Same promoted-but-unmounted contract as the TUI gate (see above).
849+
// Same promoted-but-unmounted contract as the TUI gate: an activated
850+
// name missing from the registry errors toward retry (see run() in
851+
// DynamicToolRunner).
850852
{ isActivated: (name) => activatedToolNames.has(name) },
851853
);
852854

‎src/tui/dynamic-tool-runner.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function createDynamicToolRunner(
109109
return {
110110
callId: call.id,
111111
content:
112-
`Error: ${call.name} is not currently available — its server may ` +
112+
`Error: ${call.name} is not currently available - its server may ` +
113113
`still be reconnecting. Retry the call shortly.`,
114114
isError: true,
115115
};

0 commit comments

Comments
 (0)