update + ollama

This commit is contained in:
JMARyA 2024-12-29 10:01:54 +01:00
parent b3e38cde60
commit 16a965d56c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
4 changed files with 40 additions and 0 deletions

View file

@ -13,6 +13,14 @@ pub struct InstallConfig {
pub user: Vec<UserConfig>,
/// SSH Configuration
pub ssh: Option<SSHConfig>,
/// Ollama AI Config
pub ai: Option<OllamaConfig>
}
#[derive(Debug, Deserialize)]
pub struct OllamaConfig {
pub models: Option<Vec<String>>,
pub gpu: bool
}
#[derive(Debug, Deserialize)]