@@ -158,6 +158,7 @@ import { paintUiText, formatUiBadge, formatUiHeader, formatUiItem, formatUiKeyVa
158158import {
159159 buildBeginnerChecklist ,
160160 buildBeginnerDoctorFindings ,
161+ formatPromptCacheKey ,
161162 recommendBeginnerNextAction ,
162163 summarizeBeginnerAccounts ,
163164 type BeginnerAccountSnapshot ,
@@ -5217,7 +5218,7 @@ while (attempted.size < Math.max(1, accountCount)) {
52175218 ui ,
52185219 "Prompt cache" ,
52195220 runtime . promptCacheEnabledRequests > 0
5220- ? `enabled=${ runtime . promptCacheEnabledRequests } , missing=${ runtime . promptCacheMissingRequests } , lastKey=${ runtime . lastPromptCacheKey ?? "none" } `
5221+ ? `enabled=${ runtime . promptCacheEnabledRequests } , missing=${ runtime . promptCacheMissingRequests } , lastKey=${ formatPromptCacheKey ( runtime . lastPromptCacheKey ) } `
52215222 : `enabled=0, missing=${ runtime . promptCacheMissingRequests } , lastKey=none` ,
52225223 "muted" ,
52235224 ) ,
@@ -5262,7 +5263,7 @@ while (attempted.size < Math.max(1, accountCount)) {
52625263 ` Runtime failures: failed=${ runtime . failedRequests } , rateLimited=${ runtime . rateLimitedResponses } , authRefreshFailed=${ runtime . authRefreshFailures } , server=${ runtime . serverErrors } , network=${ runtime . networkErrors } ` ,
52635264 ) ;
52645265 lines . push (
5265- ` Prompt cache: enabled=${ runtime . promptCacheEnabledRequests } , missing=${ runtime . promptCacheMissingRequests } , lastKey=${ runtime . lastPromptCacheKey ?? "none" } ` ,
5266+ ` Prompt cache: enabled=${ runtime . promptCacheEnabledRequests } , missing=${ runtime . promptCacheMissingRequests } , lastKey=${ formatPromptCacheKey ( runtime . lastPromptCacheKey ) } ` ,
52665267 ) ;
52675268 }
52685269 return lines . join ( "\n" ) ;
0 commit comments