1081
const mayRetryWithReplacementClient = this._hasReplacementActiveClientTool(state, clientId, toolCall.toolName);
1082
if (toolCall.status === ToolCallStatus.Streaming) {
1084
>
type: ActionType.ChatToolCallReady,
1085
>
turnId: activeTurn.id,
1086
>
toolCallId: toolCall.toolCallId,
1087
>
invocationMessage: toolCall.invocationMessage ?? toolCall.displayName,
1088
>
confirmed: ToolCallConfirmationReason.NotNeeded,
1089
>
});
1090
>
}
1091
this._stateManager.dispatchServerAction(chatChannel, {
1092
type: ActionType.ChatToolCallComplete,