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
@@ -17,7 +17,12 @@ class BrowserAgent(Agent):
self.tools = {
"web_search": searxSearch(),
}
self.role = "Web search and navigation"
self.role = {
"en": "Web search and navigation",
"fr": "Recherche et navigation web",
"zh": "网络搜索和导航",
"es": "Búsqueda y navegación web"
}
self.type = "browser_agent"
self.browser = Browser()
self.current_page = ""