Feat/cascade routing mvp#15
Merged
Merged
Conversation
auto 模式不再靠提示长度或 Flash 分类器预判难度。除上下文压力、 debug/重构/架构/安全等明显难关键词直接走 Pro 外,其余一律 Flash-first; 当一轮内工具调用执行失败累计 ≥2 次(Flash 明显搞不定)时,本会话 粘性升级到 Pro(RouteSource::Cascade),经 telemetry 的 route_source / route_reason 透出以便观测。 - 删除 runtime/routing.rs 整个 Flash LLM 路由器子系统及其测试 - 删除 auto_mode 的 ModelClass/Ambiguous 灰区与 classify_by_length 长度启发式 - classify_model 改为直接返回 (model, reason, source) - run_loop 同步直调 resolve_turn_route(不再 select! 等网络路由)
Flash 路由器退役后,以下配置已无任何引用,删除: - AgentConfig 的 router_enabled / router_timeout_ms / router_context_turns 字段 - 对应的默认常量与 DEEP_CODE_AUTO_ROUTER_* 环境变量 - 配置文件的 [auto] 段(AutoSection)及其文件/env 解析与测试
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.