refactor: remove unused helpers and internal exports

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-24 17:11:28 +08:00
1 parent cab3a360ea
commit 3ecc3d3556
13 files changed
+22 -49

No files matched your search

+1 -1
View File
@@ -444,7 +444,7 @@ interface RenderedRetryStatus extends RetryStatus {
nextRetryAtMs?: number
}
export function retryStatusLine(status: RenderedRetryStatus, nowMs = Date.now()): string {
function retryStatusLine(status: RenderedRetryStatus, nowMs = Date.now()): string {
const label = retryFailureLabel(status.error_kind)
if (status.state === "exhausted") return `${label} · ending turn`
if (status.state === "recovered") return "Connection restored"