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 @@
1133 "prompt_post_processing_none": "Отсутствует",1133 "prompt_post_processing_none": "Отсутствует",
1134 "Additional Parameters": "Доп. параметры",1134 "Additional Parameters": "Доп. параметры",
1135 "Include Body Parameters": "Добавить параметры в тело",1135 "Include Body Parameters": "Добавить параметры в тело",
1136 "custom_include_body_desc": "Эти параметры будут добавлены в тело запроса к API Chat Completion (YAML-объект)\n\nПример:\n- top_k: 20\n- repetition_penalty: 1.1",1136 "custom_include_body_desc": "Эти параметры будут добавлены в тело запроса к API Chat Completion (YAML-объект)\n\nПример:\ntop_k: 20\nrepetition_penalty: 1.1",
1137 "Exclude Body Parameters": "Исключить параметры из тела",1137 "Exclude Body Parameters": "Исключить параметры из тела",
1138 "custom_exclude_body_desc": "Эти параметры будут исключены из тела запроса к API Chat Completion (YAML-массив)\n\nПример:\n- frequency_penalty\n- presence_penalty",1138 "custom_exclude_body_desc": "Эти параметры будут исключены из тела запроса к API Chat Completion (YAML-массив)\n\nПример:\n- frequency_penalty\n- presence_penalty",
1139 "Include Request Headers": "Добавить заголовки запроса",1139 "Include Request Headers": "Добавить заголовки запроса",
1140 "custom_include_headers_desc": "Дополнительные заголовки, добавляемые к запросу в API Chat Completion (YAML-объект)\n\nПример:\n- CustomHeader: custom-value\n- AnotherHeader: custom-value",1140 "custom_include_headers_desc": "Дополнительные заголовки, добавляемые к запросу в API Chat Completion (YAML-объект)\n\nПример:\nCustomHeader: custom-value\nAnotherHeader: custom-value",
1141 "Groq API Key": "Ключ от API Groq",1141 "Groq API Key": "Ключ от API Groq",
1142 "Groq Model": "Модель Groq",1142 "Groq Model": "Модель Groq",
1143 "Perplexity API Key": "Ключ от API Perplexity",1143 "Perplexity API Key": "Ключ от API Perplexity",
public/locales/zh-cn.json+2 -2
@@ -1782,11 +1782,11 @@
1782 "(Leave empty to auto-generate)": "(留空以自动生成)",1782 "(Leave empty to auto-generate)": "(留空以自动生成)",
1783 "The currently existing checkpoint will be unlinked and replaced with the new checkpoint, but can still be found in the Chat Management.": "当前检查点将会被解绑并替换为新的检查点,但仍可在聊天管理中找到。",1783 "The currently existing checkpoint will be unlinked and replaced with the new checkpoint, but can still be found in the Chat Management.": "当前检查点将会被解绑并替换为新的检查点,但仍可在聊天管理中找到。",
1784 "Include Body Parameters": "包括主体参数",1784 "Include Body Parameters": "包括主体参数",
1785 "custom_include_body_desc": "聊天完成请求主体中要包含的参数(YAML 对象)\n\n示例:\n- top_k:20\n- repetition_penalty:1.1",1785 "custom_include_body_desc": "聊天完成请求主体中要包含的参数(YAML 对象)\n\n示例:\ntop_k:20\nrepetition_penalty:1.1",
1786 "Exclude Body Parameters": "排除主体参数",1786 "Exclude Body Parameters": "排除主体参数",
1787 "custom_exclude_body_desc": "要从聊天完成请求主体中排除的参数(YAML 数组)\n\n示例:\n- frequency_penalty\n- presence_penalty",1787 "custom_exclude_body_desc": "要从聊天完成请求主体中排除的参数(YAML 数组)\n\n示例:\n- frequency_penalty\n- presence_penalty",
1788 "Include Request Headers": "包含请求标头",1788 "Include Request Headers": "包含请求标头",
1789 "custom_include_headers_desc": "聊天完成请求的附加标头(YAML 对象)\n\n示例:\n- CustomHeader:自定义值\n- AnotherHeader:自定义值",1789 "custom_include_headers_desc": "聊天完成请求的附加标头(YAML 对象)\n\n示例:\nCustomHeader:自定义值\nAnotherHeader:自定义值",
1790 "Functions in this category are for advanced users only. Don't click anything if you're not sure about the consequences.": "此类别中的功能仅供高级用户使用。如果您不确定后果,请不要点击任何内容。",1790 "Functions in this category are for advanced users only. Don't click anything if you're not sure about the consequences.": "此类别中的功能仅供高级用户使用。如果您不确定后果,请不要点击任何内容。",
1791 "THIS IS PERMANENT!": "此操作不可逆!",1791 "THIS IS PERMANENT!": "此操作不可逆!",
1792 "Also delete the chat files": "同时删除聊天文件",1792 "Also delete the chat files": "同时删除聊天文件",
public/locales/zh-tw.json+2 -2
@@ -1909,11 +1909,11 @@
1909 "chat_rename_3": "這將斷開各檢查點間的連結。",1909 "chat_rename_3": "這將斷開各檢查點間的連結。",
1910 "chat_rename_4": "無需在結尾加上 `.jsonl`。",1910 "chat_rename_4": "無需在結尾加上 `.jsonl`。",
1911 "Include Body Parameters": "包含請求主體參數",1911 "Include Body Parameters": "包含請求主體參數",
1912 "custom_include_body_desc": "包含在 Chat Completion 請求體中的參數(YAML 格式)\n\n範例:\n- top_k: 20\n- repetition_penalty: 1.1",1912 "custom_include_body_desc": "包含在 Chat Completion 請求體中的參數(YAML 格式)\n\n範例:\ntop_k: 20\nrepetition_penalty: 1.1",
1913 "Exclude Body Parameters": "排除請求主體參數",1913 "Exclude Body Parameters": "排除請求主體參數",
1914 "custom_exclude_body_desc": "排除於 Chat Completion 請求體中的參數(YAML 格式)\n\n範例:\n- frequency_penalty\n- presence_penalty",1914 "custom_exclude_body_desc": "排除於 Chat Completion 請求體中的參數(YAML 格式)\n\n範例:\n- frequency_penalty\n- presence_penalty",
1915 "Include Request Headers": "包含請求標頭(Request Headers)",1915 "Include Request Headers": "包含請求標頭(Request Headers)",
1916 "custom_include_headers_desc": "新增於 Chat Completion 請求的自定義標頭(YAML 格式)\n\n範例:\n- CustomHeader: custom-value\n- AnotherHeader: custom-value",1916 "custom_include_headers_desc": "新增於 Chat Completion 請求的自定義標頭(YAML 格式)\n\n範例:\nCustomHeader: custom-value\nAnotherHeader: custom-value",
1917 "THIS IS PERMANENT!": "這是「永久性」的!",1917 "THIS IS PERMANENT!": "這是「永久性」的!",
1918 "Also delete the chat files": "同時刪除此聊天檔案",1918 "Also delete the chat files": "同時刪除此聊天檔案",
1919 "Are you sure you want to duplicate this character?": "您確定要複製該角色嗎?",1919 "Are you sure you want to duplicate this character?": "您確定要複製該角色嗎?",
public/scripts/templates/customEndpointAdditionalParameters.html+2 -2
@@ -2,7 +2,7 @@
2 <h3 data-i18n="Additional Parameters">Additional Parameters</h3>2 <h3 data-i18n="Additional Parameters">Additional Parameters</h3>
3 <div class="flex1 flex-container flexFlowColumn">3 <div class="flex1 flex-container flexFlowColumn">
4 <h4 data-i18n="Include Body Parameters">Include Body Parameters</h4>4 <h4 data-i18n="Include Body Parameters">Include Body Parameters</h4>
5 <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>5 <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>
6 </div>6 </div>
7 <div class="flex1 flex-container flexFlowColumn">7 <div class="flex1 flex-container flexFlowColumn">
8 <h4 data-i18n="Exclude Body Parameters">Exclude Body Parameters</h4>8 <h4 data-i18n="Exclude Body Parameters">Exclude Body Parameters</h4>
@@ -10,6 +10,6 @@
10 </div>10 </div>
11 <div class="flex1 flex-container flexFlowColumn">11 <div class="flex1 flex-container flexFlowColumn">
12 <h4 data-i18n="Include Request Headers">Include Request Headers</h4>12 <h4 data-i18n="Include Request Headers">Include Request Headers</h4>
13 <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>13 <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>
14 </div>14 </div>
15</div>15</div>