vansin commited on
Commit
ba4f256
1 Parent(s): e777d52

feat: update

Browse files
Files changed (1) hide show
  1. mindsearch/agent/__init__.py +3 -1
mindsearch/agent/__init__.py CHANGED
@@ -44,10 +44,12 @@ def init_agent(lang='cn', model_format='internlm_server'):
44
  interpreter_prompt=interpreter_prompt,
45
  response_prompt=FINAL_RESPONSE_CN
46
  if lang == 'cn' else FINAL_RESPONSE_EN),
 
 
47
  searcher_cfg=dict(
48
  llm=llm,
49
  plugin_executor=ActionExecutor(
50
- BingBrowser(searcher_type='DuckDuckGoSearch',
51
  topk=6,
52
  api_key=os.environ.get('BING_API_KEY',
53
  'YOUR BING API'))),
 
44
  interpreter_prompt=interpreter_prompt,
45
  response_prompt=FINAL_RESPONSE_CN
46
  if lang == 'cn' else FINAL_RESPONSE_EN),
47
+
48
+
49
  searcher_cfg=dict(
50
  llm=llm,
51
  plugin_executor=ActionExecutor(
52
+ BingBrowser(searcher_type='BingSearch',
53
  topk=6,
54
  api_key=os.environ.get('BING_API_KEY',
55
  'YOUR BING API'))),