[AC-AISVC-RES-09~15] config: 将默认运行时模式改为 AUTO

- 修改 ModeRouterConfig.runtime_mode 默认值从 DIRECT 改为 AUTO
- 系统将根据查询复杂度和置信度自动决定使用 ReAct 模式还是通用 API 模式
- 短查询 + 高置信度 -> 使用 DIRECT 模式
- 复杂查询或低置信度 -> 使用 REACT 模式
This commit is contained in:
MerCry 2026-03-11 00:03:25 +08:00
parent 1b71c29ddb
commit 7134ec3c5e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class RerankerConfig:
@dataclass @dataclass
class ModeRouterConfig: class ModeRouterConfig:
"""模式路由配置。【AC-AISVC-RES-09~15】""" """模式路由配置。【AC-AISVC-RES-09~15】"""
runtime_mode: RuntimeMode = RuntimeMode.DIRECT runtime_mode: RuntimeMode = RuntimeMode.AUTO
react_trigger_confidence_threshold: float = 0.6 react_trigger_confidence_threshold: float = 0.6
react_trigger_complexity_score: float = 0.5 react_trigger_complexity_score: float = 0.5
react_max_steps: int = 5 react_max_steps: int = 5