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

Method hasToolUse

sources/Session/Message.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22bool Message::hasToolUse() const
23{
24 for (const auto &block : m_blocks) {
25 if (dynamic_cast<LLMQore::ToolUseContent *>(block.get()))
26 return true;
27 }
28 return false;
29}
30
31} // namespace QodeAssist

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected