feat : zero shot router for other lang

This commit is contained in:
martin legrand committed 2025-03-24 20:22:30 +01:00
1 parent a289ddf1fd
commit af168d2c57
7 files changed
+62 -16

No files matched your search

+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: