(toolCall: ToolCallState | undefined)
| 52 | const logger = createLogger('CopilotToolHandler') |
| 53 | |
| 54 | function applyToolDisplay(toolCall: ToolCallState | undefined): void { |
| 55 | if (!toolCall?.name) return |
| 56 | toolCall.displayTitle = getToolDisplayTitle( |
| 57 | toolCall.name, |
| 58 | toolCall.params as Record<string, unknown> | undefined |
| 59 | ) |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Upsert the durable `async_tool_calls` row before the authoritative tool-call |
no test coverage detected