Timothy Jaeryang Baek hai 3 meses
pai
achega
2eab43c35e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib/apis/ollama/index.ts

+ 1 - 1
src/lib/apis/ollama/index.ts

@@ -366,7 +366,7 @@ export const unloadModel = async (token: string, tagName: string) => {
 			Authorization: `Bearer ${token}`
 		},
 		body: JSON.stringify({
-			name: tagName
+			model: tagName
 		})
 	}).catch((err) => {
 		error = err;