diff --git a/src/views/i18n/zh.json b/src/views/i18n/zh.json index d74dbc9..dd24a06 100644 --- a/src/views/i18n/zh.json +++ b/src/views/i18n/zh.json @@ -45,11 +45,13 @@ "Select your preferred language": "选择你的首选语言", "Python for chat": "聊天用的 Python", "Python for commands": "命令用的 Python", + "Proxy setting": "代理设置", "Code Completion Enable": "代码补全启用", "Codebase Index Enable": "代码库索引启用", "Code Completion Model": "代码补全模型", "Select a model": "选择补全模型", "Please enter the path of your python": "请输入你的 Python 路径", + "Please enter the proxy url and port": "请输入您的代理URL和端口", "Cancel": "取消", "Save": "保存", "Max input tokens": "最大输入数", diff --git a/src/views/pages/Config.tsx b/src/views/pages/Config.tsx index 9f88f16..1b39f1e 100644 --- a/src/views/pages/Config.tsx +++ b/src/views/pages/Config.tsx @@ -412,11 +412,18 @@ const Config = observer(() => { /> + {codeModels.length > 0 && ( <>