pvanand commited on
Commit
545c7b4
1 Parent(s): 1fc729a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -84,6 +84,7 @@ async def generate_report(query: QueryModel):
84
  additional_context = limit_tokens(str(all_text_with_urls))
85
  prompt = f"#### COMPLETE THE TASK: {description} #### IN THE CONTEXT OF ### CONTEXT: {query_str} USING THE #### SCRAPED DATA:{additional_context}"
86
  except Exception as e:
 
87
  query.internet = False
88
  print("failed to search/scrape results, falling back to LLM response")
89
 
 
84
  additional_context = limit_tokens(str(all_text_with_urls))
85
  prompt = f"#### COMPLETE THE TASK: {description} #### IN THE CONTEXT OF ### CONTEXT: {query_str} USING THE #### SCRAPED DATA:{additional_context}"
86
  except Exception as e:
87
+ print(e)
88
  query.internet = False
89
  print("failed to search/scrape results, falling back to LLM response")
90