ZIm/crates/agent/src
Danilo Leal b9724d9cbe
agent: Add token count in the thread view (#28037)
This PR adds the token count to the active thread view. It doesn't
behaves quite like Assistant 1 where it updates as you type, though; it
updates after you submit the message.

<img
src="https://github.com/user-attachments/assets/82d2a180-554a-43ee-b776-3743359b609b"
width="700" />

---

Release Notes:

- agent: Add token count in the thread view

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
2025-04-03 15:43:58 -03:00
..
assistant_configuration agent: Add newtype for profile IDs (#27939) 2025-04-02 17:12:52 +00:00
context_picker agent: Include active file in recent history (#27914) 2025-04-03 13:29:41 +00:00
ui Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
active_thread.rs agent: Handle tool use without text (#28030) 2025-04-03 14:22:59 -03:00
agent_diff.rs agent: Add button to continue iterating once all reviews are done (#28027) 2025-04-03 12:32:02 -03:00
assistant.rs agent: Add newtype for profile IDs (#27939) 2025-04-02 17:12:52 +00:00
assistant_configuration.rs agent: Improve action confirmation UX (#27932) 2025-04-02 17:40:49 +00:00
assistant_model_selector.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
assistant_panel.rs agent: Add token count in the thread view (#28037) 2025-04-03 15:43:58 -03:00
buffer_codegen.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
context.rs agent: Include context with first message that introduced it (#27925) 2025-04-02 12:14:48 -03:00
context_picker.rs agent: Include active file in recent history (#27914) 2025-04-03 13:29:41 +00:00
context_store.rs Use worktree qualified paths in agent file context + some code cleanup (#27943) 2025-04-02 18:00:32 +00:00
context_strip.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
history_store.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
inline_assistant.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
inline_prompt_editor.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
message_editor.rs agent: Add token count in the thread view (#28037) 2025-04-03 15:43:58 -03:00
profile_selector.rs agent: Add newtype for profile IDs (#27939) 2025-04-02 17:12:52 +00:00
terminal_codegen.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
terminal_inline_assistant.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
thread.rs agent: Add token count in the thread view (#28037) 2025-04-03 15:43:58 -03:00
thread_history.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00
thread_store.rs agent: Add newtype for profile IDs (#27939) 2025-04-02 17:12:52 +00:00
tool_use.rs agent: Handle tool use without text (#28030) 2025-04-03 14:22:59 -03:00
ui.rs Rename assistant2 to agent (#27887) 2025-04-02 00:40:47 +00:00