github / github/app

Telemetry and Cache Explorer completely broken specifically for kimi-k2.7-code model

オープン
#1,928 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bugs
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### Short summary

_No response_

### Affected version or release

Github Copilot CLI v1.0.70

### Installation context

_No response_

### What happened?

Hey team,

Found a breaking telemetry bug in agent-host-copilotcli that only happens when using the kimi-k2.7-code model. Other models seem to track just fine.

Basically, the token tracking is completely dead, which then cascades and breaks the Cache Explorer dashboard.

1. Zero Token Telemetry Bug
As shown in the first screenshot, the agent successfully runs through 17 turns and 24 tool calls with 0 errors. However, all token metrics (Total Input, Total Output, Total Cached, Total Tokens) are completely stuck at 0. The execution works fine, but the telemetry data is missing.

Image

2. Broken Cache Explorer (Cascading Error)
Because the token counts are missing, the Cache Explorer is completely blind. It shows 0.00% cache hit and throws a fake "Likely cache expiration (~5 min)" warning.

But if you look closely at the timestamps, the gap between Turn 15 and Turn 16 is only 13 seconds (Turn 15 ended at 07:09:51 and Turn 16 started at 07:10:04). There is no way the prompt cache expired in 13 seconds. Both input tok and cached tok fields are completely blank.

It looks like the CLI is either failing to parse the token usage block from Kimi's API response, or it's completely forgetting to pass the caching headers for this specific model.

Image

### Steps to reproduce

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

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

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

調査の方向性

Start by reproducing the zero-token telemetry with the kimi-k2.7-code model in Github Copilot CLI v1.0.70, then trace the token-usage parsing and the data passed to Cache Explorer. Done means input, output, cached, and total token metrics populate correctly and the dashboard no longer reports a false cache-expiration warning.

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

評価

技術スタック
github
領域
observability-sre, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

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

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