mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-02-07 15:50:16 -05:00
feat: Add predefined templates
This commit is contained in:
@ -41,6 +41,7 @@ struct AIConfiguration
|
||||
QString customEndpoint;
|
||||
ConfigurationType type;
|
||||
int formatVersion = CONFIGURATION_FORMAT_VERSION;
|
||||
bool isPredefined = false;
|
||||
};
|
||||
|
||||
class ConfigurationManager : public QObject
|
||||
@ -58,6 +59,8 @@ public:
|
||||
AIConfiguration getConfigurationById(const QString &id, ConfigurationType type) const;
|
||||
|
||||
QString getConfigurationDirectory(ConfigurationType type) const;
|
||||
|
||||
static QVector<AIConfiguration> getPredefinedConfigurations(ConfigurationType type);
|
||||
|
||||
signals:
|
||||
void configurationsChanged(ConfigurationType type);
|
||||
|
||||
Reference in New Issue
Block a user