CLI session preemptively locks tool execution before credit exhaustion

オープン
#4,897 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
shell
領域
cli

調査の方向性

Start by reproducing the behavior in Copilot CLI 1.0.85 with a 1000-credit limit, using Gemini 3.8 Flash and attempting a tool call after about 940 credits are used. Trace the session credit handling and tool-execution decision; done means non-destructive tool calls remain available until the 999-credit boundary instead of forcing a summary early.

索引モデルが issue の本文から書いたものです。

説明

triage
Describe the bug

The Copilot CLI runtime forcefully revokes tool execution capability when remaining session credits drop below a conservative threshold (~100-150 credits), even though the session still has sufficient credit capacity (e.g., 57.1 AI credits remaining) to perform individual tool calls. The runtime injects Final model call for this session: do not call tools; summarize progress, state what remains, and stop, completely preventing final non-destructive operations (such as copying a file).

Affected version

Current Version: GitHub Copilot CLI 1.0.85

Steps to reproduce the behavior

Configure 1000 AI credits limit
Create session and reach 940 credits used
Try to do one tool call
Copilot keeping return summary session and prevent tool calling
Image

Expected behavior

Tools should be executed until 999 ai credits reached

Additional context

model Gemini 3.8 Flash

主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。