Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

Merge branch 'dev' into feat/vision_slover

Bingxi Zhao (Frank)6ff107d960cd
diff --cc config/main.yaml
index e19175f36,552c22969..dc170cc22
--- a/config/main.yaml
+++ b/config/main.yaml
@@@ -42,48 -41,23 +42,53 @@@ question
rag_query_count: 3
max_parallel_questions: 1
rag_mode: naive
- agents:
- retrieve:
- top_k: 30
- generate:
- max_retries: 2
- relevance_analyzer:
- enabled: true
+ idea_loop:
+ max_rounds: 3
+ ideas_per_round: 5
+ generation:
+ max_retries: 2
+ tools:
+ web_search: true
+ rag_tool: true
+ write_code: true
solve:
- max_solve_correction_iterations: 3
+ max_react_iterations: 5 # Max ReAct rounds per plan step
+ max_plan_steps: 10 # Max steps in a plan
+ max_replans: 2 # Max replan attempts
+ observation_max_tokens: 2000 # Truncation limit for tool results
enable_citations: true
save_intermediate_results: true
+ # Valid tools for investigate agent validation
+ valid_tools:
+ - "rag_naive"
+ - "rag_hybrid"
+ - "web_search"
+ - "query_item"
+ - "none"
+ agents:
+ investigate_agent:
+ max_actions_per_round: 1
+ max_iterations: 3
+ precision_answer_agent:
+ enabled: true
+vision_solver:
+ enabled: true
+ max_image_size: 10MB
+ geogebra:
+ xmin: -10
+ xmax: 10
+ ymin: -8
+ ymax: 8
+ stages:
+ bbox:
+ temperature: 0.3
+ analysis:
+ temperature: 0.3
+ ggbscript:
+ temperature: 0.3
+ reflection:
+ temperature: 0.3
+ detailed_answer: false # true = iterative step-by-step writing; false = single-shot
research:
planning:
rephrase: