Nymbo commited on
Commit
b971e4a
·
verified ·
1 Parent(s): 2a25232

Update Modules/Deep_Research.py

Browse files
Files changed (1) hide show
  1. Modules/Deep_Research.py +3 -1
Modules/Deep_Research.py CHANGED
@@ -21,8 +21,10 @@ from .Web_Fetch import _fullpage_markdown_from_soup, _http_get_enhanced
21
  from app import _log_call_end, _log_call_start, _search_rate_limiter, _truncate_for_log
22
  from ._docstrings import autodoc
23
  from .File_System import ROOT_DIR
 
 
 
24
 
25
- HF_TEXTGEN_TOKEN = os.getenv("HF_READ_TOKEN") or os.getenv("HF_TOKEN")
26
 
27
  # Single source of truth for the LLM-facing tool description
28
  TOOL_SUMMARY = (
 
21
  from app import _log_call_end, _log_call_start, _search_rate_limiter, _truncate_for_log
22
  from ._docstrings import autodoc
23
  from .File_System import ROOT_DIR
24
+ from ._core import get_hf_token
25
+
26
+ HF_TEXTGEN_TOKEN = get_hf_token()
27
 
 
28
 
29
  # Single source of truth for the LLM-facing tool description
30
  TOOL_SUMMARY = (