Skip to content

[BUG] - cagent new never ends #94

Closed

Description

@k33g

Describe the bug

The cagent new comand never ends

Version affected

cagent version v1.0.3
Build time: 2025-09-03T17:52:32Z
Commit: 0bf08b30b07080f82b0ab589fb1ed87f00ba6dfc

How To Reproduce

cagent new

For any feedback, please visit: https://docker.qualtrics.com/jfe/form/SV_cNsCIg92nQemlfw

⚠️ No provider credentials found, defaulting to Docker Model Runner (DMR)

use "--model provider/model" to use a different model

------- Welcome to cagent! -------
         (Ctrl+C to exit)

What should your agent/agent team do? (describe its purpose)

> coding

Using default model: ai/qwen3:latest
Generating agent configuration....

Expectation

A config file

OS and Terminal type

macOS Sequoia 15.5 + iTerm2 + VScode terminal

Additional context

I installed cagent like this:

curl -L -o cagent-darwin-arm64 https://github.com/docker/cagent/releases/download/v1.0.3/cagent-darwin-arm64

chmod +x cagent-darwin-arm64
sudo mv cagent-darwin-arm64 /usr/local/bin/cagent
cagent version

I tried with cagent at the root of my project too

I pulled ai/qwen3:latest

Activity

  1. krissetto commented on Sep 4, 2025

    @krissetto
    Contributor

    I have a feeling the local model went out of its context window and ended up in some loop (I'm working on ways to improve DMR support, coming soon)

    Could you reproduce with -d for debug logs?

    cagent -d run --tui=false <agent>.yaml

  2. k33g commented on Sep 4, 2025

    @k33g
    ContributorAuthor

    @krissetto do you mean cagent -d new?

  3. krissetto commented on Sep 4, 2025

    @krissetto
    Contributor

    @k33g yep sorry :)

  4. krissetto commented on Sep 5, 2025

    @krissetto
    Contributor

    @k33g could you retry with the latest release (v1.0.4) which has much better dmr support?
    (or build from source for even more improvements)

  5. UmarFarooq-MP commented on Sep 8, 2025

    @UmarFarooq-MP

    i tried to reproduce the error and look like this issue is resolved.

  6. k33g commented on Sep 9, 2025

    @k33g
    ContributorAuthor

    @krissetto sorry for the delay. I confirm, it's work 🎉 🙇

  7. added
    area/providers/docker-model-runner
    and removed on Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/providers/docker-model-runner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions