Skip to content

Commit 30b50f0

Browse files
committed
add a comment
1 parent 8be498a commit 30b50f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/mcp-apollo-server/src/operations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl Operation {
194194
"Tool {} loaded with a character count of {}. Estimated tokens: {}",
195195
operation_name,
196196
length,
197-
length / 4
197+
length / 4 // We don't know the tokenization algorithm, so we just use 4 characters per token as a rough estimate. https://docs.anthropic.com/en/docs/resources/glossary#tokens
198198
),
199199
Err(_) => tracing::info!(
200200
"Tool {} loaded with an unknown character count",

0 commit comments

Comments
 (0)