fix: preserve model associations on refresh

This commit is contained in:
fawney19
2026-05-11 14:52:50 +08:00
parent 247ea9d1bd
commit 9057537ab8
4 changed files with 13 additions and 101 deletions

View File

@@ -236,16 +236,6 @@ impl ModelFetchAssociationStore for AppState {
.await
.map_err(|err| format!("{err:?}"))
}
async fn delete_admin_provider_model(
&self,
provider_id: &str,
model_id: &str,
) -> Result<bool, Self::Error> {
AppState::delete_admin_provider_model(self, provider_id, model_id)
.await
.map_err(|err| format!("{err:?}"))
}
}
#[async_trait]