feat: Rename old llmcore module to pluginllmcore

This commit is contained in:
Petr Mironychev
2026-03-30 00:49:45 +02:00
parent 7b0b04a1ee
commit f58fad9578
123 changed files with 1018 additions and 1018 deletions

View File

@ -21,7 +21,7 @@
#include <QObject>
#include <llmcore/BaseTool.hpp>
#include <pluginllmcore/BaseTool.hpp>
namespace QodeAssist::Tools {
@ -32,17 +32,17 @@ public:
ToolsFactory(QObject *parent = nullptr);
~ToolsFactory() override = default;
QList<LLMCore::BaseTool *> getAvailableTools() const;
LLMCore::BaseTool *getToolByName(const QString &name) const;
QList<PluginLLMCore::BaseTool *> getAvailableTools() const;
PluginLLMCore::BaseTool *getToolByName(const QString &name) const;
QJsonArray getToolsDefinitions(
LLMCore::ToolSchemaFormat format,
LLMCore::RunToolsFilter filter = LLMCore::RunToolsFilter::ALL) const;
PluginLLMCore::ToolSchemaFormat format,
PluginLLMCore::RunToolsFilter filter = PluginLLMCore::RunToolsFilter::ALL) const;
QString getStringName(const QString &name) const;
private:
void registerTools();
void registerTool(LLMCore::BaseTool *tool);
void registerTool(PluginLLMCore::BaseTool *tool);
QHash<QString, LLMCore::BaseTool *> m_tools;
QHash<QString, PluginLLMCore::BaseTool *> m_tools;
};
} // namespace QodeAssist::Tools