MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / skillBody

Method skillBody

app/src/AI/ContextBuilder.cpp:751–757  ·  view source on GitHub ↗

* @brief Returns the body of one skill by id, or empty when unknown. */

Source from the content-addressed store, hash-verified

749 * @brief Returns the body of one skill by id, or empty when unknown.
750 */
751QString AI::ContextBuilder::skillBody(const QString& id)
752{
753 if (!skillIds().contains(id))
754 return {};
755
756 return readResource(QStringLiteral(":/ai/skills/%1.md").arg(id));
757}
758
759/**
760 * @brief Returns the concatenation of all scripting reference docs.

Callers

nothing calls this directly

Calls 2

readResourceFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected