You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/llm/src/local_model.rs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -184,9 +184,11 @@ impl LocalModel {
184
184
};
185
185
for endpoint_info in component.list_instances().await? {
186
186
let network_name:ModelNetworkName = (&endpoint_info).into();
187
-
let entry = network_name.load_entry(&etcd_client).await?;
188
-
if entry.name != model_name {
189
-
anyhow::bail!("Duplicate component. Attempt to register model {model_name} at {component}, which is already used by {network_name} running model {}.", entry.name);
anyhow::bail!("Duplicate component. Attempt to register model {model_name} at {component}, which is already used by {network_name} running model {}.", entry.name);
0 commit comments