pvanand commited on
Commit
9fa0fe5
1 Parent(s): eb0c972

Update helper_functions_api.py

Browse files
Files changed (1) hide show
  1. helper_functions_api.py +1 -1
helper_functions_api.py CHANGED
@@ -238,7 +238,7 @@ def fetch_and_extract_content(data_format, urls, query):
238
  return all_text_with_urls
239
 
240
 
241
- @retry(tries=3, delay=0.25)
242
  def search_brave(query, num_results=5):
243
  cleaned_query = query #re.sub(r'[^a-zA-Z0-9]+', '', query)
244
  search_query = together_response(cleaned_query, model=llm_default_small, SysPrompt=SysPromptSearch, max_tokens = 25).strip()
 
238
  return all_text_with_urls
239
 
240
 
241
+ #@retry(tries=3, delay=0.25)
242
  def search_brave(query, num_results=5):
243
  cleaned_query = query #re.sub(r'[^a-zA-Z0-9]+', '', query)
244
  search_query = together_response(cleaned_query, model=llm_default_small, SysPrompt=SysPromptSearch, max_tokens = 25).strip()