mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #8523] enh: Ollama v0.5.5 '/api/create' endpoint compatibility #53822
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 @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 clientshttps://github.com/ollama/ollama/releases
https://github.com/ollama/ollama/blob/main/docs/api.md#create-a-model
Workaround:
OLLAMA_DOCKER_TAG=0.5.4env var@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
@dpk-it commented on GitHub (Jan 14, 2025):
@tjbck Ollama v0.5.5 was released today https://github.com/ollama/ollama/releases