Skip to content

Copilot-cli hang on /init #1247

@scott-c-h

Description

@scott-c-h

Describe the bug

After typing /init, copilot-cli hangs, and cannot be exited from.

Affected version

v0.0.400

Steps to reproduce the behavior

  1. Accept the directory
  2. Type /init
  3. Hang

Expected behavior

No hang

Additional context

The last few logs look like this

2026-02-02T05:15:58.865Z [INFO] Session named: "Initialize Session"
2026-02-02T05:15:58.886Z [DEBUG] Chunk received with choices missing finish_reason: {
  "choices": [
    {
      "index": 0,
      "delta": {
        "content": null,
        "role": "assistant",
        "reasoning_text": " understand the"
      }
    }
  ],
  "created": 1770009352,
  "id": "msg_vrtx_01SUKyX1rQeyMDSxdqkgfxJA",
  "model": "claude-sonnet-4.5"
}
2026-02-02T05:15:58.919Z [DEBUG] Chunk received with choices missing finish_reason: {
  "choices": [
    {
      "index": 0,
      "delta": {
        "content": null,
        "role": "assistant",
        "reasoning_text": " full"
      }
    }
  ],
  "created": 1770009352,
  "id": "msg_vrtx_01SUKyX1rQeyMDSxdqkgfxJA",
  "model": "claude-sonnet-4.5"
}
2026-02-02T05:15:59.009Z [DEBUG] Chunk received with choices missing finish_reason: {
  "choices": [
    {
      "index": 0,
      "delta": {
        "content": null,
        "role": "assistant",
        "reasoning_text": " structure."
      }
    }
  ],
  "created": 1770009352,
  "id": "msg_vrtx_01SUKyX1rQeyMDSxdqkgfxJA",
  "model": "claude-sonnet-4.5"
}
2026-02-02T05:15:59.142Z [DEBUG] Chunk received with choices missing finish_reason: {
  "choices": [
    {
      "index": 0,
      "delta": {
        "content": null,
        "role": "assistant",
        "reasoning_text": " Let me use the task"
      }
    }
  ],
  "created": 1770009352,
  "id": "msg_vrtx_01SUKyX1rQeyMDSxdqkgfxJA",
  "model": "claude-sonnet-4.5"
}
2026-02-02T05:15:59.142Z [DEBUG] Chunk received with choices missing finish_reason: {
  "choices": [
    {
      "index": 0,
      "delta": {
        "content": null,
        "role": "assistant",
        "reasoning_text": " tool"
      }
    }
  ],
  "created": 1770009352,
  "id": "msg_vrtx_01SUKyX1rQeyMDSxdqkgfxJA",
  "model": "claude-sonnet-4.5"
}
2026-02-02T05:15:59.156Z [DEBUG] Chunk received with choices missing finish_reason: {
  "choices": [
    {
      "index": 0,
      "delta": {
        "content": null,
        "role": "assistant",
        "reasoning_text": " with"
      }
    }
  ],
  "created": 1770009352,
  "id": "msg_vrtx_01SUKyX1rQeyMDSxdqkgfxJA",
  "model": "claude-sonnet-4.5"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions