🔧 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
}

View file

@ -62,6 +62,7 @@
"com_assistants_non_retrieval_model": "File search is not enabled on this model. Please select another model.",
"com_assistants_retrieval": "Retrieval",
"com_assistants_running_action": "Running action",
"com_assistants_running_var": "Running {{0}}",
"com_assistants_search_name": "Search assistants by name",
"com_assistants_update_actions_error": "There was an error creating or updating the action.",
"com_assistants_update_actions_success": "Successfully created or updated Action",