CommandCodeAI / CommandCodeAI/command-code
Learning agent failed: Learning timed out when initializing Command Code
Chưa có ai nhận issue này.
- 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
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
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.
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.
Đánh giá
- Công nghệ
- node.js
- Lĩnh vực
- ai, cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100