MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / recordSent

Method recordSent

ChatView/InputTokenCounter.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void InputTokenCounter::recordSent()
159{
160 m_lastSentEstimate = m_calibrationFactor > 0.0
161 ? static_cast<int>(m_inputTokens / m_calibrationFactor)
162 : m_inputTokens;
163}
164
165void InputTokenCounter::recordServerUsage(int promptTokens)
166{

Callers 1

dispatchSendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected