feat: strong typing for complete endpoints
This commit is contained in:
@@ -37,7 +37,6 @@ pub async fn unload_model(
|
||||
State(state): State<AppState>,
|
||||
Path(model): Path<String>,
|
||||
) -> Result<Json<api::UnloadModelResponse>, (axum::http::StatusCode, String)> {
|
||||
|
||||
let response = state
|
||||
.ollama
|
||||
.unload_model(&model)
|
||||
|
||||
Reference in New Issue
Block a user