mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-03-31 01:42:56 -04:00
refactor: Replace plugin tools manager to client api tools manager
This commit is contained in:
@ -20,25 +20,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <context/IgnoreManager.hpp>
|
||||
#include <pluginllmcore/BaseTool.hpp>
|
||||
#include <LLMCore/BaseTool.hpp>
|
||||
#include <QFuture>
|
||||
#include <QJsonObject>
|
||||
#include <QObject>
|
||||
|
||||
namespace QodeAssist::Tools {
|
||||
|
||||
class ProjectSearchTool : public PluginLLMCore::BaseTool
|
||||
class ProjectSearchTool : public ::LLMCore::BaseTool
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ProjectSearchTool(QObject *parent = nullptr);
|
||||
|
||||
QString name() const override;
|
||||
QString stringName() const override;
|
||||
QString id() const override;
|
||||
QString displayName() const override;
|
||||
QString description() const override;
|
||||
QJsonObject getDefinition(PluginLLMCore::ToolSchemaFormat format) const override;
|
||||
PluginLLMCore::ToolPermissions requiredPermissions() const override;
|
||||
QJsonObject parametersSchema() const override;
|
||||
QFuture<QString> executeAsync(const QJsonObject &input) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user