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
@@ -18,7 +18,12 @@ class CasualAgent(Agent):
"file_finder": FileFinder(),
"bash": BashInterpreter()
}
self.role = "talk"
self.role = {
"en": "talking",
"fr": "discuter",
"zh": "聊天",
"es": "discutir"
}
self.type = "casual_agent"
def process(self, prompt, speech_module) -> str: