koog-agents
Toggle table of contents
0.2.1
common
Platform filter
common
Switch theme
Search in API
koog-agents
prompt-tokenizer
/
ai.koog.prompt.tokenizer
/
NoTokenizer
/
countTokens
count
Tokens
open
override
fun
countTokens
(
text
:
String
)
:
Int
(
source
)
Always returns 0, regardless of the input text.
Return
Always returns 0
Parameters
text
The text to tokenize (ignored)