Complete local-first content migration slice

This commit is contained in:
2026-08-05 16:24:04 -05:00
parent 993abb96df
commit f850bae77c
60 changed files with 2755 additions and 2729 deletions
+10
View File
@@ -2054,6 +2054,16 @@ impl LLMPreferences {
log::debug!("[llm] Server model update ignored — using local providers only");
}
#[cfg(test)]
pub(crate) fn set_models_by_feature_for_test(
&mut self,
models_by_feature: ModelsByFeature,
ctx: &mut ModelContext<Self>,
) {
self.models_by_feature = models_by_feature;
ctx.emit(LLMPreferencesEvent::UpdatedAvailableLLMs);
}
/// Disabled — Galaxy does not accept model updates from Warp's server.
fn on_server_update(&mut self, _update: ModelsByFeature, _ctx: &mut ModelContext<Self>) {
log::debug!("[llm] Server model update ignored — using local providers only");