CommandCodeAI / CommandCodeAI/command-code

Learning agent failed: Learning timed out when initializing Command Code

Aberta
#530 1 comentário 1 reação 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
Sem dados de linguagem
Estrelas
4k
Forks
350
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Reproduza a inicialização no Command Code v0.40.10 e acompanhe a inicialização do learning-agent que produz o timeout e bloqueia a entrada. Use o ID de trace relatado e o comportamento de /learn-taste para comparar o caminho do timeout com a inicialização normal; considera-se concluído quando a inicialização é concluída ou o usuário consegue executar comandos sem que o learner bloqueie a UI.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
node.js
Domínio
ai, cli
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.