Skip to content

Commit 8a9d382

Browse files
committed
Merge branch 'feat/set-max-context-window' of https://github.com/HahaBill/Roo-Code into feat/set-max-context-window
2 parents 38a9a58 + 16ffd71 commit 8a9d382

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

webview-ui/src/components/settings/MaxContextWindowControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const MaxContextWindowControl = ({ value, onChange, maxValue = 1000000 }:
3535
setIsCustomMaxContextWindow(isChecked)
3636

3737
if (!isChecked) {
38-
setInputValue(null) // Unset the temperature, note that undefined is unserializable.
38+
setInputValue(null) // Unset the max context window, note that undefined is unserializable.
3939
} else {
4040
setInputValue(value ?? 0) // Use the value from apiConfiguration, if set.
4141
}

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
"maxContextWindow": "",
508508
"useCustom": "Utiliser la fenêtre contextuelle maximale personnalisée",
509509
"description": "Définit la taille maximale de la fenêtre contextuelle du modèle. Lorsque les conversations approchent de cette limite, Roo Code condense automatiquement les messages plus anciens pour respecter la contrainte.",
510-
"rangeDescription": "Des valeurs plus élevées permettent des conversations plus longues avant la condensation, des valeurs plus faibles déclenchent la condensation plus tôt pour rester dans les limites de débit de l'API.."
510+
"rangeDescription": "Des valeurs plus élevées permettent des conversations plus longues avant la condensation, des valeurs plus faibles déclenchent la condensation plus tôt pour rester dans les limites de débit de l'API."
511511
},
512512
"modelInfo": {
513513
"supportsImages": "Prend en charge les images",

webview-ui/src/i18n/locales/ko/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
"maxContextWindow": {
507507
"maxContextWindow": "최대 컨텍스트 창",
508508
"useCustom": "사용자 정의 최대 컨텍스트 창 사용",
509-
"description": "모델의 최대 컨텍스트 창 크기를 설정합니다. 대화가 이 제한에 도달하면 Roo Code는 자동으로 이전 메시지를 압축하여 제한 범위 내에 있도록 합니다.",
509+
"description": "모델의 최대 컨텍스트 창 크기를 설정합니다. 대화가 이 제한에 도달하면 Roo Code는 자동으로 이전 메시지를 응축하여 제한 범위 내에 있도록 합니다.",
510510
"rangeDescription": "값이 높을수록 응축되기 전에 더 긴 대화가 가능하고, 값이 낮을수록 API 속도 제한 내에 머물기 위해 더 빨리 응축이 실행됩니다."
511511
},
512512
"modelInfo": {

webview-ui/src/i18n/locales/pt-BR/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
},
506506
"maxContextWindow": {
507507
"maxContextWindow": "Janela de Contexto Máxima",
508-
"useCustom": "Usar janela de contexto máximo personalizada",
508+
"useCustom": "Usar janela de contexto máxima personalizada",
509509
"description": "Define o tamanho máximo da janela de contexto para o modelo. Quando as conversas se aproximam desse limite, o Roo Code condensa automaticamente as mensagens mais antigas para permanecer dentro da restrição.",
510510
"rangeDescription": "Valores mais altos permitem conversas mais longas antes da condensação, valores mais baixos acionam a condensação mais cedo para permanecer dentro dos limites de taxa da API."
511511
},

webview-ui/src/i18n/locales/zh-CN/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
"rangeDescription": "值越高回答越多样,值越低越保守"
505505
},
506506
"maxContextWindow": {
507-
"maxContextWindow": "",
507+
"maxContextWindow": "最大上下文窗口",
508508
"useCustom": "使用自定义最大上下文窗口",
509509
"description": "设置模型的最大上下文窗口大小。当对话接近此限制时,Roo Code 会自动压缩较旧的消息以使其符合限制条件。",
510510
"rangeDescription": "较高的值允许在压缩之前进行更长的对话,较低的值会更快地触发压缩以保持在 API 速率限制内。"

webview-ui/src/i18n/locales/zh-TW/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
"maxContextWindow": {
507507
"maxContextWindow": "最大上下文視窗",
508508
"useCustom": "使用自訂最大上下文視窗",
509-
"description": "設定模型的最大上下文視窗大小。當對話接近此限制時,Roo Code 將自動壓縮舊訊息以保持在限制範圍內。.",
509+
"description": "設定模型的最大上下文視窗大小。當對話接近此限制時,Roo Code 將自動壓縮舊訊息以保持在限制範圍內。",
510510
"rangeDescription": "較高的值允許在壓縮之前進行更長的對話,較低的值會更快觸發壓縮以保持在 API 速率限制內。"
511511
},
512512
"modelInfo": {

0 commit comments

Comments
 (0)