ZIm/crates/agent_ui
Umesh Yadav 875c86e3ef
agent_ui: Fix token count not getting shown in the TextThread (#34485)
Closes #34319 

In this pr: https://github.com/zed-industries/zed/pull/33462 there was
check added for early return for active_thread and message_editor as
those are not present in the TextThread and only available in the Thread
the token count was not getting triggered for TextThread this pr fixes
that regression by moving the logic specific to Thread inside of thread
view match.

<img width="3024" height="1886" alt="CleanShot 2025-07-15 at 23 50
18@2x"
src="https://github.com/user-attachments/assets/bd74ae8b-6c37-4cdd-ab95-d3c253b8a948"
/>


Release Notes:

- Fix token count not getting shown in the TextThread
2025-07-16 10:39:07 -04:00
..
src agent_ui: Fix token count not getting shown in the TextThread (#34485) 2025-07-16 10:39:07 -04:00
Cargo.toml ACP (#34030) 2025-07-09 16:02:31 +00:00
LICENSE-GPL Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00