diff --git a/client/src/components/SidePanel/Agents/__tests__/CodeFiles.spec.tsx b/client/src/components/SidePanel/Agents/__tests__/CodeFiles.spec.tsx
index 0e965e4c84..abb8d14a0c 100644
--- a/client/src/components/SidePanel/Agents/__tests__/CodeFiles.spec.tsx
+++ b/client/src/components/SidePanel/Agents/__tests__/CodeFiles.spec.tsx
@@ -56,7 +56,7 @@ describe('Code/Files', () => {
,
);
- expect(screen.getByText('com_assistants_code_interpreter_files')).toBeInTheDocument();
+ expect(screen.getByText('com_agents_run_code_files')).toBeInTheDocument();
});
it('returns null when file config is disabled for provider', () => {
@@ -133,6 +133,6 @@ describe('Code/Files', () => {
,
);
- expect(screen.getByText('com_assistants_code_interpreter_files')).toBeInTheDocument();
+ expect(screen.getByText('com_agents_run_code_files')).toBeInTheDocument();
});
});
diff --git a/client/src/hooks/Conversations/useExportConversation.ts b/client/src/hooks/Conversations/useExportConversation.ts
index dc352ccab9..22fd2a2a73 100644
--- a/client/src/hooks/Conversations/useExportConversation.ts
+++ b/client/src/hooks/Conversations/useExportConversation.ts
@@ -19,6 +19,7 @@ import type {
} from 'librechat-data-provider';
import useBuildMessageTree from '~/hooks/Messages/useBuildMessageTree';
import { useScreenshot } from '~/hooks/ScreenshotContext';
+import { useLocalize } from '~/hooks';
import { cleanupPreset } from '~/utils';
type ExportValues = {
@@ -45,6 +46,7 @@ export default function useExportConversation({
const queryClient = useQueryClient();
const { captureScreenshot } = useScreenshot();
const buildMessageTree = useBuildMessageTree();
+ const localize = useLocalize();
const { conversationId: paramId } = useParams();
@@ -119,7 +121,7 @@ export default function useExportConversation({
// CODE_INTERPRETER
const toolCall = content[ContentTypes.TOOL_CALL];
const code_interpreter = toolCall[ToolCallTypes.CODE_INTERPRETER];
- return ['Code Interpreter', JSON.stringify(code_interpreter)];
+ return [localize('com_ui_run_code'), JSON.stringify(code_interpreter)];
}
if (type === ToolCallTypes.RETRIEVAL) {
diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json
index 8067919b00..c21aed0340 100644
--- a/client/src/locales/en/translation.json
+++ b/client/src/locales/en/translation.json
@@ -14,7 +14,6 @@
"com_agents_all_category": "All",
"com_agents_all_description": "Browse all shared agents across all categories",
"com_agents_avatar_upload_error": "Failed to upload agent avatar",
- "com_agents_by_librechat": "by LibreChat",
"com_agents_category_aftersales": "After Sales",
"com_agents_category_aftersales_description": "Agents specialized in post-sale support, maintenance, and customer service",
"com_agents_category_empty": "No agents found in the {{category}} category",
@@ -34,8 +33,6 @@
"com_agents_category_tabs_label": "Agent Categories",
"com_agents_chat_with": "Chat with {{name}}",
"com_agents_clear_search": "Clear search",
- "com_agents_code_interpreter": "When enabled, allows your agent to leverage the LibreChat Code Interpreter API to run generated code, including file processing, securely. Requires a valid API key.",
- "com_agents_code_interpreter_title": "Code Interpreter API",
"com_agents_contact": "Contact",
"com_agents_copy_link": "Copy Link",
"com_agents_create_error": "There was an error creating your agent.",
@@ -93,6 +90,8 @@
"com_agents_not_available": "Agent Not Available",
"com_agents_recommended": "Our recommended agents",
"com_agents_results_for": "Results for '{{query}}'",
+ "com_agents_run_code_files": "Files below are for Code Environment only:",
+ "com_agents_run_code_info": "When enabled, allows your agent to run generated code securely, including file processing.",
"com_agents_search_aria": "Search for agents",
"com_agents_search_empty_heading": "No search results",
"com_agents_search_info": "When enabled, allows your agent to search the web for up-to-date information. Requires a valid API key.",
@@ -1644,7 +1643,7 @@
"com_ui_upload_agent_avatar": "Successfully updated agent avatar",
"com_ui_upload_agent_avatar_label": "Upload agent avatar image",
"com_ui_upload_avatar_label": "Upload avatar image",
- "com_ui_upload_code_files": "Upload for Code Interpreter",
+ "com_ui_upload_code_environment": "Upload to Code Environment",
"com_ui_upload_delay": "Uploading \"{{0}}\" is taking more time than anticipated. Please wait while the file finishes indexing for retrieval.",
"com_ui_upload_error": "There was an error uploading your file",
"com_ui_upload_file_context": "Upload File Context",