mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-05 08:57:46 +08:00
fix: filter candidate rows to resolved global model name only
This commit is contained in:
@@ -48,7 +48,12 @@ pub(crate) async fn read_requested_model_rows(
|
||||
return Ok(None);
|
||||
};
|
||||
|
||||
Ok(Some((resolved_global_model_name, rows)))
|
||||
let resolved_rows = rows
|
||||
.into_iter()
|
||||
.filter(|row| row.global_model_name == resolved_global_model_name)
|
||||
.collect();
|
||||
|
||||
Ok(Some((resolved_global_model_name, resolved_rows)))
|
||||
}
|
||||
|
||||
pub(crate) async fn enumerate_minimal_candidate_selection_with_required_capabilities(
|
||||
|
||||
Reference in New Issue
Block a user