CommandCodeAI / CommandCodeAI/command-code

Learning agent failed: Learning timed out when initializing Command Code

未关闭
#530 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Bug Report

Version: Command Code v0.40.10 (models: deepseek-v4-pro with max effort · taste-1)

Environment:

  • Working directory: ~/Desktop/AI/OpenWebUI
  • Date: 2026-06-27
  • OS: darwin-arm64
  • Node.js v22.22.3
Description

On startup, the learning agent times out and blocks initialization with the following error:

Oops, something went wrong:

Learning agent failed: Learning timed out. Try again with /learn-taste

Trace ID: 3c7324e708a088de42168aed3b5266e3
Steps to Reproduce
  1. Launch Command Code in any directory (tested in ~/Desktop/AI/OpenWebUI)
  2. Wait for initialization
  3. Observe the error banner before any user input is accepted
Expected Behavior

The learning agent should either complete initialization or fail gracefully without blocking the entire UI. Even when the learner times out, the user should still be able to issue commands — possibly after being shown the prompt to run /learn-taste manually.

Actual Behavior

The startup screen displays a red error banner, and the learning agent appears to gate further interaction. The trace ID 3c7324e708a088de42168aed3b5266e3 is provided but no actionable next step until the user manually runs /learn-taste.

Proposed Fix
  • Make learning non-blocking on startup, or
  • Fall back to a default taste profile when the learner times out, or
  • At minimum, allow other commands to run while showing a non-blocking warning
Trace ID

3c7324e708a088de42168aed3b5266e3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

在 Command Code v0.40.10 中复现启动过程,并跟踪会产生 timeout 且阻塞输入的 learning-agent 初始化过程。使用报告中的 trace ID 和 /learn-taste 的行为,将 timeout 路径与正常启动进行比较;当初始化完成,或用户可以在 learner 不阻塞 UI 的情况下发出命令时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js
领域
ai, cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。