(text, max = 5000)
| 552 | } |
| 553 | |
| 554 | function truncateForStorage(text, max = 5000) { |
| 555 | return text.length <= max ? text : text.substring(0, max) + '\n... [truncated]'; |
| 556 | } |
| 557 | |
| 558 | // ============================================================================ |
| 559 | // BASELINE CACHE FOR PARAMS/HEADERS (avoid duplicate requests) |
no outgoing calls
no test coverage detected