github / github/copilot-cli

Reasoning Display keeps repeating the first thinking output

Open
#3,667 1 comment 0 reactions 0 assignees View on GitHub
area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

GHCP CLI claude-sonnet-4.5 model keeps repeating the same thing over and over in reasoning display instead of displaying the current reasoning/thinking:

● Read button.cpp
└ L1:15 (14 lines read)

◐ The user wants to migrate to dynamic DPI support. I need to:1. First read the migration guide at dynamic-dpi-migration.md2. Understand the current state of the codebase3. Follow the steps in the migration guideLet me start by reading the migration guide and exploring the codebase to understand what needs to be done.

● The files include "ui/dpi.h" but they don't include the file where the wrapper functions are defined. I need to put the wrapper functions and g_dpi in a header that's included everywhere. Let me check what's in precomp.h:

● Read precomp.h
└ 47 lines read

◐ The user wants to migrate to dynamic DPI support. I need to:1. First read the migration guide at dynamic-dpi-migration.md2. Understand the current state of the codebase3. Follow the steps in the migration guideLet me start by reading the migration guide and exploring the codebase to understand what needs to be done.

● Perfect! I'll add the DPI wrappers to precomp.h since it's included everywhere:

● Edit precomp.h +9

◐ The user wants to migrate to dynamic DPI support. I need to:1. First read the migration guide at dynamic-dpi-migration.md2. Understand the current state of the codebase3. Follow the steps in the migration guideLet me start by reading the migration guide and exploring the codebase to understand what needs to be done.

● Now remove the duplicate definitions since they're in precomp.h:

● Edit proj.cpp -4

◐ The user wants to migrate to dynamic DPI support. I need to:1. First read the migration guide at dynamic-dpi-migration.md2. Understand the current state of the codebase3. Follow the steps in the migration guideLet me start by reading the migration guide and exploring the codebase to understand what needs to be done.

● Now let's try building again:

### Affected version

GitHub Copilot CLI 1.0.59

### Steps to reproduce the behavior

1. Type a prompt
2. Ensure Ctrl+T reasoning display is on
3. Watch CLI repeatedly print same reasoning display from the first prompt

### Expected behavior

Reasoning display is printing the current thinking

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.