* @brief Returns the body of one skill by id, or empty when unknown. */
| 749 | * @brief Returns the body of one skill by id, or empty when unknown. |
| 750 | */ |
| 751 | QString 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. |
nothing calls this directly
no test coverage detected