mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:20:04 +08:00
31 lines
562 B
Python
31 lines
562 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 stdlib log level tags.
|
|
LOG_LEVEL_TAGS = [
|
|
"DEBUG",
|
|
"INFO",
|
|
"WARNING",
|
|
"ERROR",
|
|
"CRITICAL",
|
|
]
|