(s: string)
| 283 | const TOKEN_OUTPUT_LIMIT_FALLBACK = 'Could not complete response due to token output limits'; |
| 284 | |
| 285 | function looksLikeJsonObjectString(s: string): boolean { |
| 286 | const t = s.trim(); |
| 287 | return t.startsWith('{') && t.endsWith('}'); |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Message shown in the top blocking banner (parsed API text, never raw JSON when avoidable). |
no outgoing calls
no test coverage detected