Ask a question to get started
Enter to send•Shift+Enter new line
Token tracker that updates the status bar.
TextualTokenTracker( self, update_callback: Callable[[int], None], hide_callback: Callable[[], None] | None = None )
Update token count from a response.
Reset token count.
Hide the token display (e.g., during streaming).
Show the token display with current value (e.g., after interrupt).