Files
DeepTutor/deeptutor/config/constants.py
2026-03-20 20:27:17 +08:00

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",
]