400: 1 validation error for GenerateChatCompletionForm format #3727

Closed
opened 2025-11-11 15:38:14 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @mansam-ger on GitHub (Feb 9, 2025).

Bug Report

Installation Method

ollama latest --> native installed
openwebui --> docker

Environment

  • Open WebUI Version: 0.5.7

  • Ollama (if applicable): 0.5.7

  • Operating System: opensuse Tumbleweed

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Get an answer in UI

Actual Behavior:

 
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
  

Description

Bug Summary:
the error above is shown in the UI

Reproduction Details

Steps to Reproduce:
type anything in the chat ui

Logs and Screenshots

compare to https://github.com/open-webui/open-webui/discussions/8833

Additional Information

I did a clear install. Did a docker prune -a, removed all persistant data. Ollama inferences fine via API and cli. creating a new user like mentioned in the discussion does not work for me.

Originally created by @mansam-ger on GitHub (Feb 9, 2025). # Bug Report ## Installation Method ollama latest --> native installed openwebui --> docker ## Environment - **Open WebUI Version:** 0.5.7 - **Ollama (if applicable):** 0.5.7 - **Operating System:** opensuse Tumbleweed **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Get an answer in UI ## Actual Behavior: ``` 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 ``` ## Description **Bug Summary:** the error above is shown in the UI ## Reproduction Details **Steps to Reproduce:** type anything in the chat ui ## Logs and Screenshots compare to https://github.com/open-webui/open-webui/discussions/8833 ## Additional Information I did a clear install. Did a docker prune -a, removed all persistant data. Ollama inferences fine via API and cli. creating a new user like mentioned in the discussion does not work for me.
Author
Owner

@tjbck commented on GitHub (Feb 9, 2025):

We'll need a step by step instruction on how to reproduce this issue, a vast majority of us does not encounter this issue.

@tjbck commented on GitHub (Feb 9, 2025): We'll need a step by step instruction on how to reproduce this issue, a vast majority of us does not encounter this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3727