mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 07:21:00 +08:00
60s cancels research work that was going to finish — one rag call against a LightRAG or GraphRAG index makes its own LLM calls before returning, and search-then-fetch waits on someone else's site — and each of the three retries then pays the full timeout again. 240s is the ceiling geogebra_analysis already uses for the same reason; retries default to 0 so only a caller who knows its tools are flaky, not slow, pays for a second attempt. Both remain configurable under researching. Pins the pair in a test: the policy tests pass whatever they configure, so nothing held these two numbers. (cherry picked from commit 389fe3f0daf1abb4eddc87be84485d47982b84a3)