CommandCodeAI / CommandCodeAI/command-code
Learning agent failed: Learning timed out when initializing Command Code
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
- Launch Command Code in any directory (tested in ~/Desktop/AI/OpenWebUI)
- Wait for initialization
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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