From 740e766e991addee7d5fa2ad9129f541eec90cce Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Thu, 7 May 2026 23:21:57 +0800 Subject: [PATCH] refactor: remove summary text from prefix_cache, leave bottom space for subtitles --- prefix_cache.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/prefix_cache.py b/prefix_cache.py index c0bf1fc..145da81 100644 --- a/prefix_cache.py +++ b/prefix_cache.py @@ -110,10 +110,9 @@ class PrefixCache(Scene): # ── summary below tree (tree stays visible) ── summary = VGroup( - Text("KV cache reuse across requests", font_size=26, color=GREEN), - Text("First-token latency: up to 50% reduction", font_size=18, color=GRAY), + Text("KV cache reuse across requests", font_size=26, color=GREEN) ).arrange(DOWN, buff=0.2) - summary.to_edge(DOWN, buff=0.5) + summary.to_edge(DOWN, buff=1.0) self.play(Write(summary)) self.wait(2) self.play(*[FadeOut(m) for m in self.mobjects])