Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(lm_studio): handle missing model name in streaming response

Steven Enamakel054f44dcb0c9
diff --git a/crates/openhuman-core/src/inference/local/lm_studio.rs b/crates/openhuman-core/src/inference/local/lm_studio.rs
index 7147f84f93..a176096bc9 100644
--- a/crates/openhuman-core/src/inference/local/lm_studio.rs
+++ b/crates/openhuman-core/src/inference/local/lm_studio.rs
@@ -5,6 +5,7 @@
//! native API structs so the two providers can evolve independently.
use crate::config::{Config, LocalAiConfig};
+use crate::util::redact_url_for_log;
use serde::{Deserialize, Serialize};
pub(crate) const DEFAULT_LM_STUDIO_BASE_URL: &str = "http://localhost:1234/v1";