🔧 refactor: Progress Text Localization for Running Tools (#7526)

This commit is contained in:
Danny Avila 2025-05-23 17:01:49 -04:00
parent afee1a2cbd
commit b344ed12a1
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
2 changed files with 6 additions and 1 deletions

View file

@ -157,7 +157,11 @@ export default function ToolCall({
<ProgressText
progress={progress}
onClick={() => setShowInfo((prev) => !prev)}
inProgressText={localize('com_assistants_running_action')}
inProgressText={
function_name
? localize('com_assistants_running_var', { 0: function_name })
: localize('com_assistants_running_action')
}
authText={
!cancelled && authDomain.length > 0 ? localize('com_ui_requires_auth') : undefined
}