MCPcopy 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
106impl CharCounter for BackendConversationState<'_> {
107 fn char_count(&self) -> CharCount {
108 self.calculate_conversation_size().char_count()
109 }
110}
111
112impl CharCounter for ConversationSize {

Callers 2

calculate_char_countMethod · 0.80

Calls 8

mapMethod · 0.80
lenMethod · 0.45
additional_contextMethod · 0.45
contentMethod · 0.45
as_refMethod · 0.45
tool_usesMethod · 0.45

Tested by

no test coverage detected