mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 17:26:22 +02:00
Update search_engine.py BING="bing"
This commit is contained in:
parent
3d555cabc1
commit
9793f08d07
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class SearchEngine(BaseModel):
|
|||
run_func = importlib.import_module(module).DDGAPIWrapper(**kwargs).run
|
||||
elif self.engine == SearchEngineType.CUSTOM_ENGINE:
|
||||
run_func = self.run_func
|
||||
elif self.engine == SearchEngineType.Bing:
|
||||
elif self.engine == SearchEngineType.BING:
|
||||
module = "metagpt.tools.search_engine_bing"
|
||||
run_func = importlib.import_module(module).BingAPIWrapper(**kwargs).run
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue