Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[GUI] Monitor: the Conversation cache card shows no parked conversations or memory for a native model

オープン 初心者向け
#4,205 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, typescript

調査の方向性

apps/host/src/lib/native-monitor.ts と apps/host/src/screens/Monitor.tsx を読み、nativeMonitorData() と apps/host/server/monitor-dashboard.mjs のマッピングを比較します。ネイティブモデルを読み込んだ状態で、インスタンスの GET /metrics にある conversation_cache フィールドと Monitor カードを比較します。カードにネイティブメトリクスから取得した、待機中の会話、予算に対するメモリ使用量、待機と復元の回数が表示されれば完了です。

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

説明

needs-format

Area:[GUI] (the desktop app)
Desktop app, Terminal or source?:Desktop app (Windows)
Reproduction status:Reproduced locally
Strata version: Strata 0.2.5 · engine 0.1.50
Graphics card, memory and system:RTX3070 16GB MOD · 80 GB RAM · Windows 11
Model, size and settings:Qwen3.8-Flash-Next IQ3_S · 256K context · one GPU · no --parallel

What happened

Problem: In the desktop app's Monitor, the "Conversation cache" card never shows the
"Parked conversations" and "Their memory (RAM)" bars, or the "Parked / restored" row, while a
native model is loaded. The card only shows the two lines it computes from the request list
("7 of 11 requests reused prompt tokens", "Follow-up requests can reuse the previous prompt's
cached tokens"). So it looks as if the conversation cache holds nothing in RAM.

Expected: the parked conversations, their RAM against the budget, and the parks/restores,
the same as the card shows when the dashboard comes from the server's /metrics
(apps/host/server/monitor-dashboard.mjs).

Evidence that the engine does park (from the attached screenshot): in "Recent requests" a
373-token request with Reused 0 (22:39:16) is followed by a 16,477-token request with
Reused 16,446 (22:40:06), and a 373-token request with Reused 0 (22:41:33) is followed by a
52,989-token request with Reused 51,339 (22:54:58). No --parallel, so there are no batch slots.

Suspected cause (unconfirmed static analysis: I read the code, I did not debug it):

  • apps/host/src/screens/Monitor.tsx: with native instances the screen uses
    nativeMonitorData(native, ...) instead of the stored monitor state.
  • apps/host/src/lib/native-monitor.ts, nativeMonitorData(): it maps live, engine, requests,
    totals and hardware from the instance's /metrics, but not conversation_cache. The returned
    MonitorState has no conversationCache, so cache?.enabled in Monitor.tsx is undefined and
    the bars and the parked/restored row are not rendered.
  • The server does send it: serve/server.py metrics() returns "conversation_cache"
    (conversation_cache_view: enabled, slots, parked, bytes, budget_mib, parks, restores, ...),
    and apps/host/server/monitor-dashboard.mjs maps it to conversationCache for the other path.
  • main has the same native-monitor.ts (no "conversation" in it) as of 2026-10-26.

What would verify it: with a native model loaded, compare GET /metrics on the instance's port
(conversation_cache.parked / bytes / enabled) with what the Monitor card shows.

Related, but not the same: #596 (the card), #3033 (stale numbers after a refused park),
#3039 (double-counted parks), #4076 (other blank Monitor tiles on Windows).

Smallest steps
  1. Desktop app on Windows, load Qwen3.8-Flash-Next IQ3_S (native model, one GPU, no --parallel).
  2. Send a long chat (tens of thousands of tokens), then a short unrelated request, then continue the long chat.
  3. Open Monitor and look at the Conversation cache card.
主要言語
C++
スター
11.6k
フォーク
1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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