Files
nexus/wiki/concepts/Agent-Routing-Rules.md
2026-04-23 04:02:48 +08:00

1023 B
Raw Blame History

title, type, last_updated
title type last_updated
Agent Routing Rules concept 2026-04-10

Definition

Agent Routing Rules 是 OpenClaw 中绑定特定 Channel如 Telegram到特定模型的配置规则优先级高于全局配置文件openclaw.json)。

Key Characteristics

  • 定义在 OpenClaw 的 Agent 路由层,不在 openclaw.json 全局 compaction 配置里
  • 修改全局配置对 Agent 级别路由无效
  • 模型 context window 直接影响可用 token 数量

Common Failure Pattern

当 fallback 机制切换到小 context 模型,且该模型在路由规则中被绑定到某个 channel 时:

  • Telegram channel → deepseek-reasoner (16K)
  • 16K context + 16K safeguard 预留 = 0 可用 token

Sources