CommandCodeAI / CommandCodeAI/command-code

Learning agent failed: Learning timed out when initializing Command Code

Aperta
#530 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Nessun dato sulla lingua
Stelle
4k
Fork
350
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci l’avvio in Command Code v0.40.10 e segui l’inizializzazione di learning-agent che produce il timeout e blocca l’input. Usa l’ID della traccia segnalato e il comportamento di /learn-taste per confrontare il percorso del timeout con l’avvio normale; il lavoro è completato quando l’inizializzazione termina oppure l’utente può eseguire comandi senza che il learner blocchi la UI.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
node.js
Ambito
ai, cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.