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
@@ -20,7 +20,12 @@ class CoderAgent(Agent):
"go": GoInterpreter(),
"file_finder": FileFinder()
}
self.role = "Coding task"
self.role = {
"en": "Coding task",
"fr": "Tâche de codage",
"zh": "编码任务",
"es": "Tarea de codificación"
}
self.type = "code_agent"
def process(self, prompt, speech_module) -> str: