feat: add a prompt for the value

This commit is contained in:
HimiCos 2023-03-30 10:32:27 +08:00
parent d1db2be79c
commit e3324c7b50
3 changed files with 6 additions and 6 deletions

View File

@ -92,7 +92,7 @@ const cn = {
}, },
CompressThreshold: { CompressThreshold: {
Title: "历史消息长度压缩阈值", Title: "历史消息长度压缩阈值",
SubTitle: "当未压缩的历史消息超过该值时,将进行压缩", SubTitle: "当未压缩的历史消息超过该值时,将进行压缩500 ~ 4000",
}, },
Token: { Token: {
Title: "API Key", Title: "API Key",
@ -119,7 +119,7 @@ const cn = {
}, },
MaxTokens: { MaxTokens: {
Title: "单次回复限制 (max_tokens)", Title: "单次回复限制 (max_tokens)",
SubTitle: "单次交互所用的最大 Token 数", SubTitle: "单次交互所用的最大 Token 数100 ~ 4096",
}, },
PresencePenlty: { PresencePenlty: {
Title: "话题新鲜度 (presence_penalty)", Title: "话题新鲜度 (presence_penalty)",

View File

@ -94,7 +94,7 @@ const en: LocaleType = {
CompressThreshold: { CompressThreshold: {
Title: "History Compression Threshold", Title: "History Compression Threshold",
SubTitle: SubTitle:
"Will compress if uncompressed messages length exceeds the value", "Will compress if uncompressed messages length exceeds the value (500 ~ 4000)",
}, },
Token: { Token: {
Title: "API Key", Title: "API Key",
@ -121,7 +121,7 @@ const en: LocaleType = {
}, },
MaxTokens: { MaxTokens: {
Title: "Max Tokens", Title: "Max Tokens",
SubTitle: "Maximum length of input tokens and generated tokens", SubTitle: "Maximum length of input tokens and generated tokens (100 ~ 4096) ",
}, },
PresencePenlty: { PresencePenlty: {
Title: "Presence Penalty", Title: "Presence Penalty",

View File

@ -92,7 +92,7 @@ const tw: LocaleType = {
}, },
CompressThreshold: { CompressThreshold: {
Title: "歷史訊息長度壓縮閾值", Title: "歷史訊息長度壓縮閾值",
SubTitle: "當未壓縮的歷史訊息超過該值時,將進行壓縮", SubTitle: "當未壓縮的歷史訊息超過該值時,將進行壓縮500 ~ 4000",
}, },
Token: { Token: {
Title: "API Key", Title: "API Key",
@ -119,7 +119,7 @@ const tw: LocaleType = {
}, },
MaxTokens: { MaxTokens: {
Title: "單次回復限制 (max_tokens)", Title: "單次回復限制 (max_tokens)",
SubTitle: "單次交互所用的最大 Token 數", SubTitle: "單次交互所用的最大 Token 數100 ~ 4096",
}, },
PresencePenlty: { PresencePenlty: {
Title: "話題新穎度 (presence_penalty)", Title: "話題新穎度 (presence_penalty)",