feat : zero shot router for other lang

This commit is contained in:
martin legrand
2025-03-24 20:22:30 +01:00
parent a289ddf1fd
commit af168d2c57
7 changed files with 62 additions and 16 deletions
+6 -1
View File
@@ -14,7 +14,12 @@ class FileAgent(Agent):
"file_finder": FileFinder(),
"bash": BashInterpreter()
}
self.role = "find and read files"
self.role = {
"en": "find and read files",
"fr": "trouver et lire des fichiers",
"zh": "查找和读取文件",
"es": "encontrar y leer archivos"
}
self.type = "file_agent"
def process(self, prompt, speech_module) -> str: