mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🔧 refactor: Progress Text Localization for Running Tools (#7526)
This commit is contained in:
parent
afee1a2cbd
commit
b344ed12a1
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue