diff --git a/src/_locales/en/main.json b/src/_locales/en/main.json index b853f46..c0b85c7 100644 --- a/src/_locales/en/main.json +++ b/src/_locales/en/main.json @@ -110,5 +110,6 @@ "Modules": "Modules", "API Params": "API Params", "API Url": "API Url", - "Others": "Others" + "Others": "Others", + "API Modes": "API Modes" } diff --git a/src/_locales/zh-hans/main.json b/src/_locales/zh-hans/main.json index 7511fa7..5144e9b 100644 --- a/src/_locales/zh-hans/main.json +++ b/src/_locales/zh-hans/main.json @@ -110,5 +110,6 @@ "Modules": "模块", "API Params": "API参数", "API Url": "API地址", - "Others": "其他" + "Others": "其他", + "API Modes": "API模式" } diff --git a/src/_locales/zh-hant/main.json b/src/_locales/zh-hant/main.json index 5c9da2f..1c47737 100644 --- a/src/_locales/zh-hant/main.json +++ b/src/_locales/zh-hant/main.json @@ -110,5 +110,6 @@ "Modules": "模組", "API Params": "API參數", "API Url": "API網址", - "Others": "其他" + "Others": "其他", + "API Modes": "API模式" } diff --git a/src/components/ConversationCard/index.jsx b/src/components/ConversationCard/index.jsx index b7f28a8..213d185 100644 --- a/src/components/ConversationCard/index.jsx +++ b/src/components/ConversationCard/index.jsx @@ -233,7 +233,8 @@ function ConversationCard(props) { else setSession(newSession) }} > - {Object.entries(Models).map(([key, model]) => { + {config.activeApiModes.map((key) => { + const model = Models[key] return (