Conversation
Rebase of EKKOLearnAI#2713 by @monikalnbo onto current main (PR was CONFLICTING since 2026-08-23). Two adjustments were needed for it to build here: - ChatInput.vue props block: kept main's `initialText` / `persistDraft` defaults alongside the new `showStreamSpeed` prop. - dropped a stale `noteRunStart(sid)` call in the chat store — no such export exists in stream-metrics.ts; `noteStreamStart(sid)` on the next line already records the run-issue moment the TTFT clock measures from. Verified locally: 3-way merge against main, no conflict markers left, and the change set stays additive (no deletion of existing main content).
Author
|
本地验证补充(这台机器的实际情况,供参考):
批准后如果 追加:本机能做的语法层验证已跑过(依赖仍装不上)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #2713 (author @monikalnbo) — that PR has been
CONFLICTINGsince 2026-08-23.What this is
A rebase of #2713 onto current
main, keeping the original author on the commit and the original intent intact: an opt-in chip inside the composer showing TTFT and a rolling tok/s estimate while a reply streams, driven by a newpackages/client/src/utils/hermes/stream-metrics.ts(2-second sliding window over streamed deltas, estimated tokens from chunk text).What I changed on top of the original
ChatInput.vueprops block conflicted withmain— kept main'sinitialText/persistDraftdefaults and the newshowStreamSpeedprop.noteRunStart(sid)call instores/hermes/chat.ts: no such export exists instream-metrics.ts, so it would failvue-tsc.noteStreamStart(sid)on the next line already records the run-issue moment that the TTFT clock measures from.Net: +180 / -0 across 15 files (was +181/-0 before removing the stale call). Purely additive — nothing from
mainis deleted.Verification
main→ PR head) done locally withgit merge-file; only theChatInput.vueprops block conflicted, and no conflict markers remain anywhere in the change set.mainand stays additive in shape, matching the original PR's footprint.>=23).Context
Issue #3178 asks for exactly this in the chat UI and notes that the official desktop app already surfaces
avg_tps/cache_hit_pctfrom the TUI gateway while Studio's web UI shows neither. For anyone who wants it today without rebuilding, there is also a non-invasive local overlay (inject a script, or CDP runtime injection — no source changes): https://github.com/123ada11f/ekko-studio-tokps ; anything useful from it (e.g. readingGET /api/studio/sessions/:idfor real token counts) can be folded in here instead.