Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

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

Danny Avilab344ed12a171
diff --git a/client/src/components/Chat/Messages/Content/ToolCall.tsx b/client/src/components/Chat/Messages/Content/ToolCall.tsx
index 3d68c3fc16..c9ff328d0e 100644
--- a/client/src/components/Chat/Messages/Content/ToolCall.tsx
+++ b/client/src/components/Chat/Messages/Content/ToolCall.tsx
@@ -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
}
diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json
index 28ef49146b..9ae9de9645 100644
--- a/client/src/locales/en/translation.json
+++ b/client/src/locales/en/translation.json
@@ -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",