MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / get_current_context_length

Method get_current_context_length

src/common/AutoModel/automodel.cpp:473–475  ·  view source on GitHub ↗

\brief Get the current context length \note The function will get the current context length \note The function will return the current context length

Source from the content-addressed store, hash-verified

471/// \note The function will get the current context length
472/// \note The function will return the current context length
473int AutoModel::get_current_context_length() {
474 return this->total_tokens;
475}
476
477/// \brief Set the sampler
478/// \param sampler_config the sampler config

Callers 4

show_profileMethod · 0.95
verboseMethod · 0.95
send_final_responseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected