ReMe/reme/utils
jinliyl 072cb6a55b
feat(daily-paper): add opt-in Hugging Face mirror support (#437)
* feat(daily-paper): add Hugging Face mirror switch

* refactor(daily-paper): simplify the HF mirror switch and warn on ignored env

The switch was a three-state bool|None where None preserved the legacy
environment-driven selection, but no production caller ever passes None --
collect.py always resolves an explicit bool. Collapse it to a plain bool
defaulting to False.

HF_MIRROR_URL no longer redirects traffic on its own, so warn when it is
configured while the mirror stays disabled; a mirror-only setup would
otherwise fall back to the official site with no signal. Both READMEs now
record the behavior change and stop presenting the two mirror variables as
symmetric -- arXiv remains environment-driven while Hugging Face is gated on
the job parameter.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(daily-paper): address mirror configuration feedback

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 15:57:24 +08:00
..
__init__.py feat: simplify wikilink semantics and support line anchors (#412) 2026-08-05 11:47:50 +08:00
agent_state_io.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
arxiv.py refactor: rebuild auto-fin and daily-paper cookbooks on structured-output agents (#432) 2026-08-07 23:53:14 +08:00
common_utils.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
counter.py feat(evaluation): track job calls and agent token usage in benchmarks (#406) 2026-08-04 11:42:18 +08:00
env_utils.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
evaluation_interface.py feat(evaluation): track job calls and agent token usage in benchmarks (#406) 2026-08-04 11:42:18 +08:00
huggingface_papers.py feat(daily-paper): add opt-in Hugging Face mirror support (#437) 2026-08-10 15:57:24 +08:00
jsonl_zst.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
line_anchor.py feat: simplify wikilink semantics and support line anchors (#412) 2026-08-05 11:47:50 +08:00
link_expansion.py feat: simplify wikilink semantics and support line anchors (#412) 2026-08-05 11:47:50 +08:00
logger_utils.py feat: add Auto Fin cookbook and managed outbound proxy support (#392) 2026-07-25 18:09:39 +08:00
logo_utils.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
service_utils.py feat(core): add shell execution and runtime memory status (#344) 2026-07-14 16:31:41 +08:00
similarity_utils.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
token_utils.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
tushare.py refactor: rebuild auto-fin and daily-paper cookbooks on structured-output agents (#432) 2026-08-07 23:53:14 +08:00
wikilink_handler.py feat: simplify wikilink semantics and support line anchors (#412) 2026-08-05 11:47:50 +08:00