Skip to content

telegram channel repeatedly or incorrectly displaying answers | telegram channel 重复展示回答或错误展示回答 #680

@balehu86

Description

@balehu86

Description

Image following is nullclaw's log
info(agent): llm request msg session=0x61713d625302876e iter=1 attempt=1 index=5 role=assistant bytes=1121 parts=0 content="你这个观察非常准,核心逻辑一般就是这三条:\n\n1. **`agents.defaults` 只提供默认值(fallback)**  \n   只有在“没有命中任何具体 agent 配置”时才会用。  \n   一旦你配置并命中了 `agents.list` 里的某个 agent,这个 agent 自己的模型就会覆盖 defaults。\n\n2. **`agents.list` 不是“自动轮询多模型”**  \n   它是“可选 agent 定义集合”,不是负载均衡池。  \n   所以不会按顺序把 list 里多个模型轮流试;通常只会选中一个(经常是第一个匹配项或默认项)。\n\n3. **`bind`(或显式指定 agent)才会切换到特定条目**  \n   你不 bind 的时候,路由器往往只会落到一个默认 agent(常见就是 list 第一个),  \n   只有绑定后才会明确使用 list 里的其他模型。\n\n---\n\n如果你愿意,我可以直接去你说的 `/workspace/nullclaw` 仓库里把 `config` 解析和 agent 选择代码读一遍,给你**精确到文件/函数**的结论(比如“先看 list 再回退 defaults”这种实际执行顺序),顺便给你一个可工作的配置模板。"
info(agent): llm request msg session=0x61713d625302876e iter=1 attempt=1 index=6 role=user bytes=21 parts=0 content="我想要精确结论"
info(agent): llm request msg session=0x61713d625302876e iter=1 attempt=1 index=7 role=assistant bytes=594 parts=0 content="好,给你精确结论我需要直接读代码。  \n但我当前工作区是 `/root/.nullclaw/workspace`,你提到的是 **`/workspace/nullclaw`**(工作区外路径),按你的规则我需要先确认再读。\n\n要不要我现在执行只读检查(不会修改任何文件):\n- 定位 `config.json` 结构与解析位置\n- 定位 agent 选择/路由逻辑\n- 给你文件+函数级结论和触发条件\n\n<nc_choices>{\"v\":1,\"options\":[{\"id\":\"yes_read\",\"label\":\"同意,开始只读检查\",\"submit_text\":\"同意,开始只读检查\"},{\"id\":\"no\",\"label\":\"先不查\"}]}</nc_choices>"
info(agent): llm request msg session=0x61713d625302876e iter=1 attempt=1 index=8 role=user bytes=27 parts=0 content="同意,开始只读检查"
info(agent): llm request msg session=0x61713d625302876e iter=1 attempt=1 index=9 role=assistant bytes=91 parts=0 content="收到。我现在开始做**只读检查**,然后给你精确到代码路径的结论。"

Expected behavior

No response

Steps to reproduce

No response

Version

v2026.3.21

OS

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions