Adjust addl. params YAML placeholders Fixes #4333

0b7f9451f4b8e0b329baf7eb2d550249ad97c1af

Cohee <18619528+Cohee1207@users.noreply.github.com>

4 files changed, +8 -8Showing whitespace changes
public/locales/ru-ru.json+2 -2
@@ -1133,11 +1133,11 @@
11331133 "prompt_post_processing_none": "Отсутствует",
11341134 "Additional Parameters": "Доп. параметры",
11351135 "Include Body Parameters": "Добавить параметры в тело",
11361136 "custom_include_body_desc": "Эти параметры будут добавлены в тело запроса к API Chat Completion (YAML-объект)\n\nПример:\n- top_kntop_k: 20\n- repetition_penaltynrepetition_penalty: 1.1",
11371137 "Exclude Body Parameters": "Исключить параметры из тела",
11381138 "custom_exclude_body_desc": "Эти параметры будут исключены из тела запроса к API Chat Completion (YAML-массив)\n\nПример:\n- frequency_penalty\n- presence_penalty",
11391139 "Include Request Headers": "Добавить заголовки запроса",
11401140 "custom_include_headers_desc": "Дополнительные заголовки, добавляемые к запросу в API Chat Completion (YAML-объект)\n\nПример:\n- CustomHeadernCustomHeader: custom-value\n- AnotherHeadernAnotherHeader: custom-value",
11411141 "Groq API Key": "Ключ от API Groq",
11421142 "Groq Model": "Модель Groq",
11431143 "Perplexity API Key": "Ключ от API Perplexity",
public/locales/zh-cn.json+2 -2
@@ -1782,11 +1782,11 @@
17821782 "(Leave empty to auto-generate)": "(留空以自动生成)",
17831783 "The currently existing checkpoint will be unlinked and replaced with the new checkpoint, but can still be found in the Chat Management.": "当前检查点将会被解绑并替换为新的检查点,但仍可在聊天管理中找到。",
17841784 "Include Body Parameters": "包括主体参数",
17851785 "custom_include_body_desc": "聊天完成请求主体中要包含的参数(YAML 对象)\n\n示例:\n- top_kntop_k:20\n- repetition_penaltynrepetition_penalty:1.1",
17861786 "Exclude Body Parameters": "排除主体参数",
17871787 "custom_exclude_body_desc": "要从聊天完成请求主体中排除的参数(YAML 数组)\n\n示例:\n- frequency_penalty\n- presence_penalty",
17881788 "Include Request Headers": "包含请求标头",
17891789 "custom_include_headers_desc": "聊天完成请求的附加标头(YAML 对象)\n\n示例:\n- CustomHeadernCustomHeader:自定义值\n- AnotherHeadernAnotherHeader:自定义值",
17901790 "Functions in this category are for advanced users only. Don't click anything if you're not sure about the consequences.": "此类别中的功能仅供高级用户使用。如果您不确定后果,请不要点击任何内容。",
17911791 "THIS IS PERMANENT!": "此操作不可逆!",
17921792 "Also delete the chat files": "同时删除聊天文件",
public/locales/zh-tw.json+2 -2
@@ -1909,11 +1909,11 @@
19091909 "chat_rename_3": "這將斷開各檢查點間的連結。",
19101910 "chat_rename_4": "無需在結尾加上 `.jsonl`。",
19111911 "Include Body Parameters": "包含請求主體參數",
19121912 "custom_include_body_desc": "包含在 Chat Completion 請求體中的參數(YAML 格式)\n\n範例:\n- top_kntop_k: 20\n- repetition_penaltynrepetition_penalty: 1.1",
19131913 "Exclude Body Parameters": "排除請求主體參數",
19141914 "custom_exclude_body_desc": "排除於 Chat Completion 請求體中的參數(YAML 格式)\n\n範例:\n- frequency_penalty\n- presence_penalty",
19151915 "Include Request Headers": "包含請求標頭(Request Headers)",
19161916 "custom_include_headers_desc": "新增於 Chat Completion 請求的自定義標頭(YAML 格式)\n\n範例:\n- CustomHeadernCustomHeader: custom-value\n- AnotherHeadernAnotherHeader: custom-value",
19171917 "THIS IS PERMANENT!": "這是「永久性」的!",
19181918 "Also delete the chat files": "同時刪除此聊天檔案",
19191919 "Are you sure you want to duplicate this character?": "您確定要複製該角色嗎?",
public/scripts/templates/customEndpointAdditionalParameters.html+2 -2
@@ -2,7 +2,7 @@
22 <h3 data-i18n="Additional Parameters">Additional Parameters</h3>
33 <div class="flex1 flex-container flexFlowColumn">
44 <h4 data-i18n="Include Body Parameters">Include Body Parameters</h4>
55 <textarea id="custom_include_body" class="flex1" placeholder="Parameters to be included in the Chat Completion request body (YAML object)&#10;&#10;Example:&#10;- top_k: 20&#10;- repetition_penalty: 1.1" data-i18n="[placeholder]custom_include_body_desc"></textarea>
66 </div>
77 <div class="flex1 flex-container flexFlowColumn">
88 <h4 data-i18n="Exclude Body Parameters">Exclude Body Parameters</h4>
@@ -10,6 +10,6 @@
1010 </div>
1111 <div class="flex1 flex-container flexFlowColumn">
1212 <h4 data-i18n="Include Request Headers">Include Request Headers</h4>
1313 <textarea id="custom_include_headers" class="flex1" placeholder="Additional headers for Chat Completion requests (YAML object)&#10;&#10;Example:&#10;- CustomHeader: custom-value&#10;- AnotherHeader: custom-value" data-i18n="[placeholder]custom_include_headers_desc"></textarea>
1414 </div>
1515</div>