Skip to main content
tokens
agentmux_
srv_
core
0.60.54
In agentmux_
srv_
core::
backend::
memory::
dream_
prompt
agentmux_srv_core
::
backend
::
memory
::
dream_prompt
Function
tokens
Copy item path
Source
pub fn tokens(text: &
str
) ->
u64
Expand description
The estimate of a text’s tokens at the measured rate, rounded up.