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

Method handleRequestFinalized

QuickRefactorHandler.cpp:422–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422void QuickRefactorHandler::handleRequestFinalized(
423 const ::LLMQore::RequestID &requestId, const ::LLMQore::CompletionInfo &info)
424{
425 if (requestId != m_lastRequestId || !info.usage)
426 return;
427
428 const auto &u = *info.usage;
429 LOG_MESSAGE(
430 QString("Quick refactor usage [%1]: prompt=%2 completion=%3 cached=%4 reasoning=%5")
431 .arg(requestId)
432 .arg(u.promptTokens)
433 .arg(u.completionTokens)
434 .arg(u.cachedPromptTokens)
435 .arg(u.reasoningTokens));
436}
437
438void QuickRefactorHandler::handleRequestFailed(const QString &requestId, const QString &error)
439{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected