Skip to content

code: async function run() -> crashΒ #7357

@undici77

Description

@undici77

When starting a new session in the CLI using a custom LM Studio provider (qwen/qwen3-coder-next), Goose crashes immediately after initiating an execute tool call. The application exits entirely without additional logs or a stack trace.

The issue began after upgrading to Goose v1.25.0. The same model and LM Studio setup previously worked without issues.


To Reproduce

Steps to reproduce the behavior:

  1. Run Goose CLI inside Linux Docker environment on a new project
  2. Begin interaction typing Analyze project before starting to plan
  3. The session starts an execute tool call
  4. Goose crashes and exits immediately

Terminal output before crash:

 ● new session Β· custom_lm_studio qwen/qwen3-coder-next
    20260219_4 Β· /workspace

πŸͺΏ goose ready β€” type a message to get started

  β•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œβ•Œ 0% 0/262k
πŸͺΏ Analyze project before starting to plan
I'll analyze the project in the workspace to understand its structure and planning requirements.

  β–Έ execute
    code: async function run() {
  // List files in the workspace to understand project structure
  const files = awa...

Application exits immediately after this point.


Expected behavior

Goose should execute the execute tool call normally and continue the session without crashing.


  • OS & Arch: Linux (Docker container)
  • Interface: CLI
  • Version: v1.25.0
  • Extensions enabled: Default (no additional extensions configured)
  • Provider & Model: LM Studio (127.0.0.1, v0.4.2+2) – qwen/qwen3-coder-next

Additional context

  • LM Studio is running locally and accessible at 127.0.0.1.
  • The model qwen/qwen3-coder-next previously worked correctly before upgrading to Goose v1.25.0.
  • The crash happens consistently at the moment the execute tool is invoked during project analysis.
  • No stack trace, panic output, or additional logs are displayed before termination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions