mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
ollama.create fails with ollama._types.ResponseError: name and path are required
#102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DavidSouther on GitHub (Jun 18, 2024).
I'm lazy-initializing a bunch of models (mostly mistral, just varying system prompts).
Running either form of
ollama.createis causing the same error:Am I doing anything obviously wrong?
@DavidSouther commented on GitHub (Jun 22, 2024):
Looks like this is an error in the client (or, at least, between the client and server) in that the server requires a
pathin the body of the create object. See #195@DavidSouther commented on GitHub (Jun 22, 2024):
NVMThis was an issue with a mismatch between Client and Server versions.
brew upgrade ollamaseems to have resolved this.