mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
code review
This commit is contained in:
parent
5c48253148
commit
9f612d5256
20 changed files with 58 additions and 22 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { promises as fs } from "fs"
|
||||
import { Task } from "../task/Task"
|
||||
import { readLines } from "../../integrations/misc/read-lines"
|
||||
import { getModelMaxOutputTokens } from "../../shared/api"
|
||||
|
|
|
|||
|
|
@ -488,7 +488,7 @@ export async function readFileTool(
|
|||
try {
|
||||
const defResult = await parseSourceCodeDefinitionsForFile(fullPath, cline.rooIgnoreController)
|
||||
if (defResult) {
|
||||
let xmlInfo = `<notice>Showing only ${effectiveMaxReadFileLine} of ${totalLines} total lines. Use line_range if you need to read more lines</notice>\n`
|
||||
let xmlInfo = `<notice>${t("tools.readFile.showingOnlyLines", { shown: effectiveMaxReadFileLine, total: totalLines })}</notice>\n`
|
||||
updateFileResult(relPath, {
|
||||
xmlContent: `<file><path>${relPath}</path>\n<list_code_definition_names>${defResult}</list_code_definition_names>\n${xmlInfo}</file>`,
|
||||
})
|
||||
|
|
@ -520,9 +520,10 @@ export async function readFileTool(
|
|||
// Add appropriate notice based on whether this was a preemptive limit or user setting
|
||||
if (validationNotice) {
|
||||
// When shouldLimit is true, always provide inline instructions
|
||||
xmlInfo += `<notice>${validationNotice}\n\nTo read specific sections of this file, use the following format:\n<read_file>\n<args>\n <file>\n <path>${relPath}</path>\n <line_range>start-end</line_range>\n </file>\n</args>\n</read_file>\n\nFor example, to read lines 2001-3000:\n<read_file>\n<args>\n <file>\n <path>${relPath}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file></notice>\n`
|
||||
const instructions = t("tools.readFile.contextLimitInstructions", { path: relPath })
|
||||
xmlInfo += `<notice>${validationNotice}\n\n${instructions}</notice>\n`
|
||||
} else {
|
||||
xmlInfo += `<notice>Showing only ${effectiveMaxReadFileLine} of ${totalLines} total lines. Use line_range if you need to read more lines</notice>\n`
|
||||
xmlInfo += `<notice>${t("tools.readFile.showingOnlyLines", { shown: effectiveMaxReadFileLine, total: totalLines })}</notice>\n`
|
||||
}
|
||||
|
||||
updateFileResult(relPath, {
|
||||
|
|
|
|||
4
src/i18n/locales/ca/tools.json
generated
4
src/i18n/locales/ca/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (línies {{start}}-{{end}})",
|
||||
"definitionsOnly": " (només definicions)",
|
||||
"maxLines": " (màxim {{max}} línies)"
|
||||
"maxLines": " (màxim {{max}} línies)",
|
||||
"showingOnlyLines": "Mostrant només {{shown}} de {{total}} línies totals. Utilitza line_range si necessites llegir més línies",
|
||||
"contextLimitInstructions": "Per llegir seccions específiques d'aquest fitxer, utilitza el següent format:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>inici-final</line_range>\n </file>\n</args>\n</read_file>\n\nPer exemple, per llegir les línies 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo sembla estar atrapat en un bucle, intentant la mateixa acció ({{toolName}}) repetidament. Això podria indicar un problema amb la seva estratègia actual. Considera reformular la tasca, proporcionar instruccions més específiques o guiar-lo cap a un enfocament diferent.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/de/tools.json
generated
4
src/i18n/locales/de/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (Zeilen {{start}}-{{end}})",
|
||||
"definitionsOnly": " (nur Definitionen)",
|
||||
"maxLines": " (maximal {{max}} Zeilen)"
|
||||
"maxLines": " (maximal {{max}} Zeilen)",
|
||||
"showingOnlyLines": "Zeige nur {{shown}} von {{total}} Zeilen insgesamt. Verwende line_range, wenn du mehr Zeilen lesen musst",
|
||||
"contextLimitInstructions": "Um bestimmte Abschnitte dieser Datei zu lesen, verwende das folgende Format:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>start-ende</line_range>\n </file>\n</args>\n</read_file>\n\nZum Beispiel, um die Zeilen 2001-3000 zu lesen:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo scheint in einer Schleife festzustecken und versucht wiederholt dieselbe Aktion ({{toolName}}). Dies könnte auf ein Problem mit der aktuellen Strategie hindeuten. Überlege dir, die Aufgabe umzuformulieren, genauere Anweisungen zu geben oder Roo zu einem anderen Ansatz zu führen.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (lines {{start}}-{{end}})",
|
||||
"definitionsOnly": " (definitions only)",
|
||||
"maxLines": " (max {{max}} lines)"
|
||||
"maxLines": " (max {{max}} lines)",
|
||||
"showingOnlyLines": "Showing only {{shown}} of {{total}} total lines. Use line_range if you need to read more lines",
|
||||
"contextLimitInstructions": "To read specific sections of this file, use the following format:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>start-end</line_range>\n </file>\n</args>\n</read_file>\n\nFor example, to read lines 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo appears to be stuck in a loop, attempting the same action ({{toolName}}) repeatedly. This might indicate a problem with its current strategy. Consider rephrasing the task, providing more specific instructions, or guiding it towards a different approach.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/es/tools.json
generated
4
src/i18n/locales/es/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (líneas {{start}}-{{end}})",
|
||||
"definitionsOnly": " (solo definiciones)",
|
||||
"maxLines": " (máximo {{max}} líneas)"
|
||||
"maxLines": " (máximo {{max}} líneas)",
|
||||
"showingOnlyLines": "Mostrando solo {{shown}} de {{total}} líneas totales. Usa line_range si necesitas leer más líneas",
|
||||
"contextLimitInstructions": "Para leer secciones específicas de este archivo, usa el siguiente formato:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>inicio-fin</line_range>\n </file>\n</args>\n</read_file>\n\nPor ejemplo, para leer las líneas 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo parece estar atrapado en un bucle, intentando la misma acción ({{toolName}}) repetidamente. Esto podría indicar un problema con su estrategia actual. Considera reformular la tarea, proporcionar instrucciones más específicas o guiarlo hacia un enfoque diferente.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/fr/tools.json
generated
4
src/i18n/locales/fr/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (lignes {{start}}-{{end}})",
|
||||
"definitionsOnly": " (définitions uniquement)",
|
||||
"maxLines": " (max {{max}} lignes)"
|
||||
"maxLines": " (max {{max}} lignes)",
|
||||
"showingOnlyLines": "Affichage de seulement {{shown}} sur {{total}} lignes totales. Utilise line_range si tu as besoin de lire plus de lignes",
|
||||
"contextLimitInstructions": "Pour lire des sections spécifiques de ce fichier, utilise le format suivant :\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>début-fin</line_range>\n </file>\n</args>\n</read_file>\n\nPar exemple, pour lire les lignes 2001-3000 :\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo semble être bloqué dans une boucle, tentant la même action ({{toolName}}) de façon répétée. Cela pourrait indiquer un problème avec sa stratégie actuelle. Envisage de reformuler la tâche, de fournir des instructions plus spécifiques ou de le guider vers une approche différente.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/hi/tools.json
generated
4
src/i18n/locales/hi/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (पंक्तियाँ {{start}}-{{end}})",
|
||||
"definitionsOnly": " (केवल परिभाषाएँ)",
|
||||
"maxLines": " (अधिकतम {{max}} पंक्तियाँ)"
|
||||
"maxLines": " (अधिकतम {{max}} पंक्तियाँ)",
|
||||
"showingOnlyLines": "कुल {{total}} पंक्तियों में से केवल {{shown}} दिखा रहे हैं। यदि आपको अधिक पंक्तियाँ पढ़नी हैं तो line_range का उपयोग करें",
|
||||
"contextLimitInstructions": "इस फ़ाइल के विशिष्ट भागों को पढ़ने के लिए, निम्नलिखित प्रारूप का उपयोग करें:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>शुरुआत-अंत</line_range>\n </file>\n</args>\n</read_file>\n\nउदाहरण के लिए, पंक्ति 2001-3000 पढ़ने के लिए:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo एक लूप में फंसा हुआ लगता है, बार-बार एक ही क्रिया ({{toolName}}) को दोहरा रहा है। यह उसकी वर्तमान रणनीति में किसी समस्या का संकेत हो सकता है। कार्य को पुनः परिभाषित करने, अधिक विशिष्ट निर्देश देने, या उसे एक अलग दृष्टिकोण की ओर मार्गदर्शित करने पर विचार करें।",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/id/tools.json
generated
4
src/i18n/locales/id/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (baris {{start}}-{{end}})",
|
||||
"definitionsOnly": " (hanya definisi)",
|
||||
"maxLines": " (maks {{max}} baris)"
|
||||
"maxLines": " (maks {{max}} baris)",
|
||||
"showingOnlyLines": "Menampilkan hanya {{shown}} dari {{total}} total baris. Gunakan line_range jika kamu perlu membaca lebih banyak baris",
|
||||
"contextLimitInstructions": "Untuk membaca bagian tertentu dari file ini, gunakan format berikut:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>awal-akhir</line_range>\n </file>\n</args>\n</read_file>\n\nContohnya, untuk membaca baris 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo tampaknya terjebak dalam loop, mencoba aksi yang sama ({{toolName}}) berulang kali. Ini mungkin menunjukkan masalah dengan strategi saat ini. Pertimbangkan untuk mengubah frasa tugas, memberikan instruksi yang lebih spesifik, atau mengarahkannya ke pendekatan yang berbeda.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/it/tools.json
generated
4
src/i18n/locales/it/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (righe {{start}}-{{end}})",
|
||||
"definitionsOnly": " (solo definizioni)",
|
||||
"maxLines": " (max {{max}} righe)"
|
||||
"maxLines": " (max {{max}} righe)",
|
||||
"showingOnlyLines": "Mostrando solo {{shown}} di {{total}} righe totali. Usa line_range se hai bisogno di leggere più righe",
|
||||
"contextLimitInstructions": "Per leggere sezioni specifiche di questo file, usa il seguente formato:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>inizio-fine</line_range>\n </file>\n</args>\n</read_file>\n\nAd esempio, per leggere le righe 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo sembra essere bloccato in un ciclo, tentando ripetutamente la stessa azione ({{toolName}}). Questo potrebbe indicare un problema con la sua strategia attuale. Considera di riformulare l'attività, fornire istruzioni più specifiche o guidarlo verso un approccio diverso.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/ja/tools.json
generated
4
src/i18n/locales/ja/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " ({{start}}-{{end}}行目)",
|
||||
"definitionsOnly": " (定義のみ)",
|
||||
"maxLines": " (最大{{max}}行)"
|
||||
"maxLines": " (最大{{max}}行)",
|
||||
"showingOnlyLines": "全{{total}}行中{{shown}}行のみ表示しています。より多くの行を読む必要がある場合はline_rangeを使用してください",
|
||||
"contextLimitInstructions": "このファイルの特定のセクションを読むには、以下の形式を使用してください:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>開始-終了</line_range>\n </file>\n</args>\n</read_file>\n\n例えば、2001-3000行目を読むには:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Rooが同じ操作({{toolName}})を繰り返し試みるループに陥っているようです。これは現在の方法に問題がある可能性を示しています。タスクの言い換え、より具体的な指示の提供、または別のアプローチへの誘導を検討してください。",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/ko/tools.json
generated
4
src/i18n/locales/ko/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " ({{start}}-{{end}}행)",
|
||||
"definitionsOnly": " (정의만)",
|
||||
"maxLines": " (최대 {{max}}행)"
|
||||
"maxLines": " (최대 {{max}}행)",
|
||||
"showingOnlyLines": "전체 {{total}}행 중 {{shown}}행만 표시하고 있습니다. 더 많은 행을 읽으려면 line_range를 사용하세요",
|
||||
"contextLimitInstructions": "이 파일의 특정 섹션을 읽으려면 다음 형식을 사용하세요:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>시작-끝</line_range>\n </file>\n</args>\n</read_file>\n\n예를 들어, 2001-3000행을 읽으려면:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo가 같은 동작({{toolName}})을 반복적으로 시도하면서 루프에 갇힌 것 같습니다. 이는 현재 전략에 문제가 있을 수 있음을 나타냅니다. 작업을 다시 표현하거나, 더 구체적인 지침을 제공하거나, 다른 접근 방식으로 안내해 보세요.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/nl/tools.json
generated
4
src/i18n/locales/nl/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (regels {{start}}-{{end}})",
|
||||
"definitionsOnly": " (alleen definities)",
|
||||
"maxLines": " (max {{max}} regels)"
|
||||
"maxLines": " (max {{max}} regels)",
|
||||
"showingOnlyLines": "Toont alleen {{shown}} van {{total}} totale regels. Gebruik line_range als je meer regels wilt lezen",
|
||||
"contextLimitInstructions": "Om specifieke secties van dit bestand te lezen, gebruik het volgende formaat:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>start-eind</line_range>\n </file>\n</args>\n</read_file>\n\nBijvoorbeeld, om regels 2001-3000 te lezen:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo lijkt vast te zitten in een lus, waarbij hij herhaaldelijk dezelfde actie ({{toolName}}) probeert. Dit kan duiden op een probleem met de huidige strategie. Overweeg de taak te herformuleren, specifiekere instructies te geven of Roo naar een andere aanpak te leiden.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/pl/tools.json
generated
4
src/i18n/locales/pl/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (linie {{start}}-{{end}})",
|
||||
"definitionsOnly": " (tylko definicje)",
|
||||
"maxLines": " (maks. {{max}} linii)"
|
||||
"maxLines": " (maks. {{max}} linii)",
|
||||
"showingOnlyLines": "Pokazuję tylko {{shown}} z {{total}} wszystkich linii. Użyj line_range jeśli potrzebujesz przeczytać więcej linii",
|
||||
"contextLimitInstructions": "Aby przeczytać określone sekcje tego pliku, użyj następującego formatu:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>początek-koniec</line_range>\n </file>\n</args>\n</read_file>\n\nNa przykład, aby przeczytać linie 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Wygląda na to, że Roo utknął w pętli, wielokrotnie próbując wykonać tę samą akcję ({{toolName}}). Może to wskazywać na problem z jego obecną strategią. Rozważ przeformułowanie zadania, podanie bardziej szczegółowych instrukcji lub nakierowanie go na inne podejście.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/pt-BR/tools.json
generated
4
src/i18n/locales/pt-BR/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (linhas {{start}}-{{end}})",
|
||||
"definitionsOnly": " (apenas definições)",
|
||||
"maxLines": " (máx. {{max}} linhas)"
|
||||
"maxLines": " (máx. {{max}} linhas)",
|
||||
"showingOnlyLines": "Mostrando apenas {{shown}} de {{total}} linhas totais. Use line_range se precisar ler mais linhas",
|
||||
"contextLimitInstructions": "Para ler seções específicas deste arquivo, use o seguinte formato:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>início-fim</line_range>\n </file>\n</args>\n</read_file>\n\nPor exemplo, para ler as linhas 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo parece estar preso em um loop, tentando a mesma ação ({{toolName}}) repetidamente. Isso pode indicar um problema com sua estratégia atual. Considere reformular a tarefa, fornecer instruções mais específicas ou guiá-lo para uma abordagem diferente.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/ru/tools.json
generated
4
src/i18n/locales/ru/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (строки {{start}}-{{end}})",
|
||||
"definitionsOnly": " (только определения)",
|
||||
"maxLines": " (макс. {{max}} строк)"
|
||||
"maxLines": " (макс. {{max}} строк)",
|
||||
"showingOnlyLines": "Показано только {{shown}} из {{total}} общих строк. Используй line_range если нужно прочитать больше строк",
|
||||
"contextLimitInstructions": "Чтобы прочитать определенные разделы этого файла, используй следующий формат:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>начало-конец</line_range>\n </file>\n</args>\n</read_file>\n\nНапример, чтобы прочитать строки 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Похоже, что Roo застрял в цикле, многократно пытаясь выполнить одно и то же действие ({{toolName}}). Это может указывать на проблему с его текущей стратегией. Попробуйте переформулировать задачу, предоставить более конкретные инструкции или направить его к другому подходу.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/tr/tools.json
generated
4
src/i18n/locales/tr/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (satır {{start}}-{{end}})",
|
||||
"definitionsOnly": " (sadece tanımlar)",
|
||||
"maxLines": " (maks. {{max}} satır)"
|
||||
"maxLines": " (maks. {{max}} satır)",
|
||||
"showingOnlyLines": "Toplam {{total}} satırdan sadece {{shown}} tanesi gösteriliyor. Daha fazla satır okumak için line_range kullan",
|
||||
"contextLimitInstructions": "Bu dosyanın belirli bölümlerini okumak için aşağıdaki formatı kullan:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>başlangıç-bitiş</line_range>\n </file>\n</args>\n</read_file>\n\nÖrneğin, 2001-3000 satırlarını okumak için:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo bir döngüye takılmış gibi görünüyor, aynı eylemi ({{toolName}}) tekrar tekrar deniyor. Bu, mevcut stratejisinde bir sorun olduğunu gösterebilir. Görevi yeniden ifade etmeyi, daha spesifik talimatlar vermeyi veya onu farklı bir yaklaşıma yönlendirmeyi düşünün.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/vi/tools.json
generated
4
src/i18n/locales/vi/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (dòng {{start}}-{{end}})",
|
||||
"definitionsOnly": " (chỉ định nghĩa)",
|
||||
"maxLines": " (tối đa {{max}} dòng)"
|
||||
"maxLines": " (tối đa {{max}} dòng)",
|
||||
"showingOnlyLines": "Chỉ hiển thị {{shown}} trong tổng số {{total}} dòng. Sử dụng line_range nếu bạn cần đọc thêm dòng",
|
||||
"contextLimitInstructions": "Để đọc các phần cụ thể của tệp này, hãy sử dụng định dạng sau:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>bắt đầu-kết thúc</line_range>\n </file>\n</args>\n</read_file>\n\nVí dụ, để đọc dòng 2001-3000:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo dường như đang bị mắc kẹt trong một vòng lặp, liên tục cố gắng thực hiện cùng một hành động ({{toolName}}). Điều này có thể cho thấy vấn đề với chiến lược hiện tại. Hãy cân nhắc việc diễn đạt lại nhiệm vụ, cung cấp hướng dẫn cụ thể hơn, hoặc hướng Roo theo một cách tiếp cận khác.",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/zh-CN/tools.json
generated
4
src/i18n/locales/zh-CN/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (第 {{start}}-{{end}} 行)",
|
||||
"definitionsOnly": " (仅定义)",
|
||||
"maxLines": " (最多 {{max}} 行)"
|
||||
"maxLines": " (最多 {{max}} 行)",
|
||||
"showingOnlyLines": "仅显示 {{shown}} 行,共 {{total}} 行。如需阅读更多行请使用 line_range",
|
||||
"contextLimitInstructions": "要阅读此文件的特定部分,请使用以下格式:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>开始-结束</line_range>\n </file>\n</args>\n</read_file>\n\n例如,要阅读第 2001-3000 行:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo 似乎陷入循环,反复尝试同一操作 ({{toolName}})。这可能表明当前策略存在问题。请考虑重新描述任务、提供更具体的指示或引导其尝试不同的方法。",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
4
src/i18n/locales/zh-TW/tools.json
generated
4
src/i18n/locales/zh-TW/tools.json
generated
|
|
@ -2,7 +2,9 @@
|
|||
"readFile": {
|
||||
"linesRange": " (第 {{start}}-{{end}} 行)",
|
||||
"definitionsOnly": " (僅定義)",
|
||||
"maxLines": " (最多 {{max}} 行)"
|
||||
"maxLines": " (最多 {{max}} 行)",
|
||||
"showingOnlyLines": "僅顯示 {{shown}} 行,共 {{total}} 行。如需閱讀更多行請使用 line_range",
|
||||
"contextLimitInstructions": "要閱讀此檔案的特定部分,請使用以下格式:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>開始-結束</line_range>\n </file>\n</args>\n</read_file>\n\n例如,要閱讀第 2001-3000 行:\n<read_file>\n<args>\n <file>\n <path>{{path}}</path>\n <line_range>2001-3000</line_range>\n </file>\n</args>\n</read_file>"
|
||||
},
|
||||
"toolRepetitionLimitReached": "Roo 似乎陷入循環,反覆嘗試同一操作 ({{toolName}})。這可能表明目前策略存在問題。請考慮重新描述工作、提供更具體的指示或引導其嘗試不同的方法。",
|
||||
"codebaseSearch": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue