Learning agent failed: Learning timed out when initializing Command Code
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Tái hiện quá trình khởi động trong Command Code v0.40.10 và theo dõi quá trình khởi tạo của learning-agent, quá trình tạo ra timeout và chặn đầu vào. Sử dụng trace ID đã báo cáo và hành vi của /learn-taste để so sánh đường dẫn timeout với quá trình khởi động bình thường; được xem là hoàn tất khi quá trình khởi tạo hoàn thành hoặc người dùng có thể thực thi lệnh mà learner không chặn UI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CommandCodeAI/command-code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/command-code#855 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CommandCodeAI/command-code#841 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/command-code#655 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/command-code#608 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
CommandCodeAI/command-code#893 ·
Tất cả issue của CommandCodeAI/command-code
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
JuliusBrussee/caveman#1102 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
use-agent-os/agent-os#3263 ·
-
[Bug]: context-limit error parsing has no pattern for llama.cpp's "context size (N tokens)" phrasing Đang mởarea/compression area/local-models area/sessions comp/agent duplicate P2 sweeper:risk-session-state type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NousResearch/hermes-agent#117793 · 1 bình luận ·
-
possible bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Mintplex-Labs/anything-llm#6415 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100