689
return localize('toolInvoke.webFetchGeneric', "Fetching URL");
690
}
692
return localize('toolInvoke.exitPlanMode', "Presenting plan");
694
return localize('toolInvoke.task', "Delegating task");
696
>
// they use a single message for both the running and completed states:
697
>
// the past-tense phrasing. See getPastTenseMessage.
698
>
case CopilotToolName.ListAgents:
699
>
case CopilotToolName.ReadAgent:
700
>
case CopilotToolName.WriteAgent:
701
return getPastTenseMessage(toolName, displayName, parameters, true);
703
return displayName;
705
>
}
706
707
export function getPastTenseMessage(toolName: string, displayName: string, parameters: Record<string, unknown> | undefined, success: boolean, resultText?: string): StringOrMarkdown {