[GH-ISSUE #8523] enh: Ollama v0.5.5 '/api/create' endpoint compatibility #30684

Closed
opened 2026-04-25 04:56:46 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @dpk-it on GitHub (Jan 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8523

The /api/create endpoint now expects JSON fields as input instead of a Modelfile. Note: this change is not backwards compatible with older clients

https://github.com/ollama/ollama/releases

https://github.com/ollama/ollama/blob/main/docs/api.md#create-a-model

Workaround: OLLAMA_DOCKER_TAG=0.5.4 env var

Originally created by @dpk-it on GitHub (Jan 13, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8523 ```The /api/create endpoint now expects JSON fields as input instead of a Modelfile. Note: this change is not backwards compatible with older clients``` https://github.com/ollama/ollama/releases https://github.com/ollama/ollama/blob/main/docs/api.md#create-a-model Workaround: `OLLAMA_DOCKER_TAG=0.5.4` env var
Author
Owner

@colinrees commented on GitHub (Jan 13, 2025):

i am guessing this is what i am seeing.... fresh install.

400: 1 validation error for GenerateChatCompletionForm
format
Input should be a valid dictionary [type=dict_type, input_value='json', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/dict_type

<!-- gh-comment-id:2587551064 --> @colinrees commented on GitHub (Jan 13, 2025): i am guessing this is what i am seeing.... fresh install. 400: 1 validation error for GenerateChatCompletionForm format Input should be a valid dictionary [type=dict_type, input_value='json', input_type=str] For further information visit https://errors.pydantic.dev/2.9/v/dict_type
Author
Owner

@dpk-it commented on GitHub (Jan 14, 2025):

@tjbck Ollama v0.5.5 was released today https://github.com/ollama/ollama/releases

<!-- gh-comment-id:2590071503 --> @dpk-it commented on GitHub (Jan 14, 2025): @tjbck Ollama v0.5.5 was released today https://github.com/ollama/ollama/releases
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#30684