Skip to content

Learning agent failed: Learning timed out when initializing Command Code #530

Description

@izscc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions