(args)
| 4 | import { extractPendingInterrupt } from '@/composables/useApproval' |
| 5 | |
| 6 | const serializeToolArgs = (args) => { |
| 7 | if (typeof args === 'string') return args |
| 8 | if (args === undefined || args === null) return '' |
| 9 | return JSON.stringify(args) |
| 10 | } |
| 11 | |
| 12 | const streamEventToMessageChunk = (streamEvent) => { |
| 13 | if (!streamEvent || typeof streamEvent !== 'object') return null |
no outgoing calls
no test coverage detected