mirror of
https://github.com/ollama/ollama.git
synced 2025-07-28 18:03:05 +02:00
check api status
This commit is contained in:
@@ -108,7 +108,7 @@ func pull(c *gin.Context) {
|
||||
|
||||
remote, err := getRemote(req.Model)
|
||||
if err != nil {
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
|
||||
c.JSON(http.StatusBadGateway, gin.H{"error": err.Error()})
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user