mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-05-30 02:49:12 -04:00
feat: Add agents and agents settings
This commit is contained in:
26
settings/AgentDuplicator.hpp
Normal file
26
settings/AgentDuplicator.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
// Copyright (C) 2024-2026 Petr Mironychev
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace QodeAssist {
|
||||
class AgentFactory;
|
||||
struct AgentConfig;
|
||||
}
|
||||
|
||||
namespace QodeAssist::Settings {
|
||||
|
||||
struct AgentDuplicateResult
|
||||
{
|
||||
bool ok = false;
|
||||
QString filePath;
|
||||
QString newName;
|
||||
QString error;
|
||||
};
|
||||
|
||||
AgentDuplicateResult duplicateAgentInUserDir(
|
||||
const AgentConfig &parent, const AgentFactory &factory);
|
||||
|
||||
} // namespace QodeAssist::Settings
|
||||
Reference in New Issue
Block a user