diff options
| author | 2026-01-16 14:18:04 +0800 | |
|---|---|---|
| committer | 2026-01-16 14:18:22 +0800 | |
| commit | 73ddf24b04bf94ee7fa76974e1af55eb94112b93 (patch) | |
| tree | 421bd2e8af7e720ed5b2fb23e92601cfeecd25ad /src-tauri/src/core/version_merge.rs | |
| parent | a38e61c30798efa3ab2231f99537828be5d5637b (diff) | |
| download | DropOut-73ddf24b04bf94ee7fa76974e1af55eb94112b93.tar.gz DropOut-73ddf24b04bf94ee7fa76974e1af55eb94112b93.zip | |
feat: integrate AI assistant functionality and configuration management
Implemented new commands for managing the AI assistant, including health checks, chat interactions, and model listings for both Ollama and OpenAI. Enhanced the configuration system to support raw JSON editing and added a dedicated AssistantConfig structure for better management of assistant settings. This update significantly improves the user experience by providing comprehensive control over AI interactions and configurations.
Diffstat (limited to 'src-tauri/src/core/version_merge.rs')
| -rw-r--r-- | src-tauri/src/core/version_merge.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-tauri/src/core/version_merge.rs b/src-tauri/src/core/version_merge.rs index fe6b3cd..098d271 100644 --- a/src-tauri/src/core/version_merge.rs +++ b/src-tauri/src/core/version_merge.rs @@ -101,6 +101,7 @@ fn merge_json_arrays( /// /// # Returns /// `true` if the version has an `inheritsFrom` field that needs resolution. +#[allow(dead_code)] pub fn needs_inheritance_resolution(version: &GameVersion) -> bool { version.inherits_from.is_some() } @@ -116,6 +117,7 @@ pub fn needs_inheritance_resolution(version: &GameVersion) -> bool { /// /// # Returns /// A fully merged `GameVersion` with all inheritance resolved. +#[allow(dead_code)] pub async fn resolve_inheritance<F, Fut>( version: GameVersion, version_loader: F, |