Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/amazon-q-developer-cli
/ char_count
Method
char_count
crates/chat-cli/src/cli/chat/token_counter.rs:107–109 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
105
106
impl CharCounter for BackendConversationState<'_> {
107
fn char_count(&self) -> CharCount {
108
self.calculate_conversation_size().char_count()
109
}
110
}
111
112
impl CharCounter for ConversationSize {
Callers
2
calculate_char_count
Method · 0.80
calculate_conversation_size
Method · 0.80
Calls
8
calculate_value_char_count
Function · 0.85
calculate_conversation_size
Method · 0.80
map
Method · 0.80
len
Method · 0.45
additional_context
Method · 0.45
content
Method · 0.45
as_ref
Method · 0.45
tool_uses
Method · 0.45
Tested by
no test coverage detected