mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 10:40:42 +08:00
34 lines
634 B
Python
34 lines
634 B
Python
#!/usr/bin/env python
|
|
"""
|
|
Constants for DeepTutor
|
|
"""
|
|
|
|
from pathlib import Path
|
|
|
|
# Project root directory - central location for all path calculations
|
|
PROJECT_ROOT = Path(__file__).resolve().parent.parent.parent
|
|
|
|
# Valid tools for investigate agent
|
|
VALID_INVESTIGATE_TOOLS = ["rag", "web_search", "none"]
|
|
|
|
# Valid tools for solve agent
|
|
VALID_SOLVE_TOOLS = [
|
|
"web_search",
|
|
"code_execution",
|
|
"rag",
|
|
"none",
|
|
"finish",
|
|
]
|
|
|
|
# Standard log level tags (used in unified logging format)
|
|
LOG_LEVEL_TAGS = [
|
|
"DEBUG",
|
|
"INFO",
|
|
"SUCCESS",
|
|
"WARNING",
|
|
"ERROR",
|
|
"CRITICAL",
|
|
"PROGRESS",
|
|
"COMPLETE",
|
|
]
|