mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-25 14:33:48 +00:00
Raised the minimum Rust version to the toolchain the Flatpak now builds with (#1223)
This commit is contained in:
1 parent
6e94a93c70
commit
6154f65e78
6 files changed
+20
-21
No files matched your search
@@ -1191,7 +1191,7 @@ fn enterprise_source_key_suffix<'a>(key_name: &'a str, prefix: &str) -> Option<&
|
||||
}
|
||||
|
||||
fn normalize_enterprise_slot_suffix(raw_suffix: &str) -> Option<&str> {
|
||||
let suffix = raw_suffix.strip_prefix('_').unwrap_or(raw_suffix);
|
||||
let suffix = raw_suffix.trim_prefix('_');
|
||||
if is_enterprise_slot_suffix(suffix) {
|
||||
Some(suffix)
|
||||
} else {
|
||||
|
||||
@@ -734,7 +734,7 @@ impl QdrantEdgeDatabase {
|
||||
}
|
||||
|
||||
fn store_directory_name(store_name: &str) -> String {
|
||||
let stable_id = store_name.strip_prefix("rag_").unwrap_or(store_name);
|
||||
let stable_id = store_name.trim_prefix("rag_");
|
||||
format!("store_{stable_id}")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user