( result: PersistedToolResult | PersistToolResultError, )
| 359 | * Type guard to check if persist result is an error |
| 360 | */ |
| 361 | export function isPersistError( |
| 362 | result: PersistedToolResult | PersistToolResultError, |
| 363 | ): result is PersistToolResultError { |
| 364 | return 'error' in result |
| 365 | } |
| 366 | |
| 367 | // --- Message-level aggregate tool result budget --- |
| 368 | // |
no outgoing calls
no test coverage detected