mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-05-30 02:49:12 -04:00
Update LLMQore to v0.0.4 (#339)
This commit is contained in:
@@ -19,12 +19,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LLMCore/BaseTool.hpp>
|
||||
#include <LLMQore/BaseTool.hpp>
|
||||
#include <QObject>
|
||||
|
||||
namespace QodeAssist::Tools {
|
||||
|
||||
class ExecuteTerminalCommandTool : public ::LLMCore::BaseTool
|
||||
class ExecuteTerminalCommandTool : public ::LLMQore::BaseTool
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
QString description() const override;
|
||||
QJsonObject parametersSchema() const override;
|
||||
|
||||
QFuture<QString> executeAsync(const QJsonObject &input = QJsonObject()) override;
|
||||
QFuture<LLMQore::ToolResult> executeAsync(const QJsonObject &input = QJsonObject()) override;
|
||||
|
||||
private:
|
||||
bool isCommandAllowed(const QString &command) const;
|
||||
|
||||
Reference in New Issue
Block a user