Remove Ollama service from Docker Compose and clean up associated volume

This commit is contained in:
Dorian
2026-01-28 11:03:34 +00:00
parent 2b01cab400
commit f595af5fa4
4 changed files with 131 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ struct RpcError {
const DEV_DEFAULT_PASSWORD: &str = "password123";
pub struct RpcHandler {
_config: Config,
config: Config,
auth_manager: AuthManager,
orchestrator: Option<Arc<DevContainerOrchestrator>>,
}
@@ -47,7 +47,7 @@ impl RpcHandler {
};
Ok(Self {
_config: config,
config,
auth_manager,
orchestrator,
})
@@ -145,7 +145,7 @@ impl RpcHandler {
let is_setup = self.auth_manager.is_setup().await?;
if !is_setup {
// Dev mode: allow default password so UI can log in without running setup
if self._config.dev_mode && password == DEV_DEFAULT_PASSWORD {
if self.config.dev_mode && password == DEV_DEFAULT_PASSWORD {
return Ok(serde_json::Value::Null);
}
return Err(anyhow::anyhow!(