CommandCodeAI / CommandCodeAI/command-code

Learning agent failed: Learning timed out when initializing Command Code

Open
#530 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce startup in Command Code v0.40.10 and follow the learning-agent initialization that produces the timeout and blocks input. Use the reported trace ID and /learn-taste behavior to compare the timeout path with normal startup; done means initialization either completes or the user can issue commands without the learner blocking the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
ai, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.