内置 skill 可在 frontmatter 声明 model: <family.variant>(ppt → glm.pro52)。 单一执行点:load_skill 命中 → run 内热切 self.llm/self.caps(下一轮生效, 记账/压缩阈值自动跟上)+ 持久化 tasks 双列 + emit model_switch 事件;切失败 降级 warn 原模型继续。send 侧档外静默降级对定向模型豁免(免费档第二条消息 不被降回 flash)。跳档位门控(产品决策);只信内置 skill(用户 skill 的 model 字段忽略,防绕门控);不自动切回。"开关"= frontmatter 那一行本身(registry 每 run 现扫,删行即停,per-skill 粒度)—— 曾实现 app_settings 表 + admin 总开关 + 建 task 预切,架构评审后砍掉(第二事实源/第二执行点),详 DESIGN §3.5。 前端:直播流 model_switch 插模型分隔线 + 顶栏下拉同步(档外定向模型临时补 option 如实显示)。新增 tests/test_skill_model_pinning.py。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| references | ||
| scripts | ||
| templates | ||
| ATTRIBUTION.md | ||
| SKILL.md | ||