diff --git a/src/interfaces/google.js b/src/interfaces/google.js index c19085021f..e9f1446eac 100644 --- a/src/interfaces/google.js +++ b/src/interfaces/google.js @@ -20,7 +20,7 @@ export const info = { needs: [ { config_key: 'google_proxy', - place_hold: 'eg: translate.google.com', + place_hold: 'default: translate.google.com', display_name: '镜像站地址', }, ], diff --git a/src/interfaces/lingva.js b/src/interfaces/lingva.js index ad4851a0d1..6b47032c96 100644 --- a/src/interfaces/lingva.js +++ b/src/interfaces/lingva.js @@ -20,7 +20,7 @@ export const info = { needs: [ { config_key: 'lingva_domain', - place_hold: 'lingva.ml', + place_hold: 'default: lingva.ml', display_name: '自定义域名', }, ], diff --git a/src/interfaces/openai.js b/src/interfaces/openai.js index 3917241e67..b45f487e73 100644 --- a/src/interfaces/openai.js +++ b/src/interfaces/openai.js @@ -19,12 +19,12 @@ export const info = { needs: [ { config_key: 'openai_domain', - place_hold: 'api.openai.com(不要加协议头,使用OpenAI官方api此项留空即可)', + place_hold: 'default: api.openai.com\n(不要加协议头,使用OpenAI官方api此项留空即可)', display_name: '自定义域名', }, { config_key: 'openai_path', - place_hold: '/v1/chat/completions(一般不需要改,留空即可,Azure用户根据自己情况修改)', + place_hold: 'default: /v1/chat/completions\n(一般不需要改,留空即可,Azure用户根据自己情况修改)', display_name: '请求路径', }, { @@ -35,7 +35,7 @@ export const info = { { config_key: 'openai_prompt', place_hold: - 'You are a professional translation engine, please translate the text into a colloquial, professional, elegant and fluent content, without the style of machine translation. You must only translate the text content, never interpret it.', + 'default: You are a professional translation engine, please translate the text into a colloquial, professional, elegant and fluent content, without the style of machine translation. You must only translate the text content, never interpret it.', display_name: '自定义翻译Prompt', }, ], diff --git a/src/interfaces/openai_code.js b/src/interfaces/openai_code.js index eee3febaa3..b4dfea669e 100644 --- a/src/interfaces/openai_code.js +++ b/src/interfaces/openai_code.js @@ -20,7 +20,7 @@ export const info = { { config_key: 'openai_code_prompt', place_hold: - 'You are a code explanation engine, you can only explain the code, do not interpret or translate it. Also, please report any bugs you find in the code to the author of the code.', + 'default: You are a code explanation engine, you can only explain the code, do not interpret or translate it. Also, please report any bugs you find in the code to the author of the code.', display_name: '自定义Prompt', }, ], diff --git a/src/interfaces/openai_polish.js b/src/interfaces/openai_polish.js index cc6190927f..59a6e0b7c5 100644 --- a/src/interfaces/openai_polish.js +++ b/src/interfaces/openai_polish.js @@ -19,7 +19,7 @@ export const info = { needs: [ { config_key: 'openai_polish_prompt', - place_hold: "You are a text embellisher, you can only embellish the text, don't interpret it.", + place_hold: "default: You are a text embellisher, you can only embellish the text, don't interpret it.", display_name: '自定义Prompt', }, ], diff --git a/src/interfaces/openai_summary.js b/src/interfaces/openai_summary.js index 0f5efc15b4..06185b80ef 100644 --- a/src/interfaces/openai_summary.js +++ b/src/interfaces/openai_summary.js @@ -19,7 +19,7 @@ export const info = { needs: [ { config_key: 'openai_summary_prompt', - place_hold: "You are a text summarizer, you can only summarize the text, don't interpret it.", + place_hold: "default: You are a text summarizer, you can only summarize the text, don't interpret it.", display_name: '自定义Prompt', }, ], diff --git a/src/windows/Config/pages/InterfaceConfig/index.jsx b/src/windows/Config/pages/InterfaceConfig/index.jsx index 7d5793afcd..c3bc4f258f 100644 --- a/src/windows/Config/pages/InterfaceConfig/index.jsx +++ b/src/windows/Config/pages/InterfaceConfig/index.jsx @@ -24,7 +24,7 @@ export default function InterfaceConfig() {