(toolCallId)
| 591 | } |
| 592 | |
| 593 | function dequeueSendFileToolCall(toolCallId) { |
| 594 | if (toolCallId) { |
| 595 | const file = pendingSendFileCalls.get(toolCallId) || null; |
| 596 | pendingSendFileCalls.delete(toolCallId); |
| 597 | return file; |
| 598 | } |
| 599 | |
| 600 | return anonymousSendFileCalls.shift() || null; |
| 601 | } |
| 602 | |
| 603 | function extractSendFileToolInput(toolInput) { |
| 604 | if (!toolInput || typeof toolInput !== "object") { |