Originally created by @davaded on GitHub (Feb 7, 2025).
Bug Report
Installation Method
Docker
Environment
**Open WebUI Version: **v0.5.10
**Ollama (if applicable): No
**Operating System: **Ubuntu 20.04
**Browser (if applicable): **Chrome 100.0
Confirmation:
I have read and followed all instructions provided in README.md.
I am using the latest versions of 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 error in the "Steps to Reproduce" section below.
Expected behavior:
Using O3-mini api should return normally
Actual behavior:
Using O3-mini api returns the information "Error: An error occurred while processing the request: Object of type ModelModel is not JSON serializable"
Description
Error summary:
"Error: An error occurred while processing the request: Object of type ModelModel is not JSON serializable"
Logs and screenshots
Originally created by @davaded on GitHub (Feb 7, 2025).
# Bug Report
## Installation Method
Docker
## Environment
- **Open WebUI Version: **v0.5.10
- **Ollama (if applicable): No
- **Operating System: **Ubuntu 20.04
- **Browser (if applicable): **Chrome 100.0
**Confirmation:**
- [ ] I have read and followed all instructions provided in README.md.
- [ ] I am using the latest versions of 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 error in the "Steps to Reproduce" section below.
## Expected behavior:
Using O3-mini api should return normally
## Actual behavior:
Using O3-mini api returns the information "Error: An error occurred while processing the request: Object of type ModelModel is not JSON serializable"
## Description
**Error summary:**
"Error: An error occurred while processing the request: Object of type ModelModel is not JSON serializable"
## Logs and screenshots

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @davaded on GitHub (Feb 7, 2025).
Bug Report
Installation Method
Docker
Environment
Confirmation:
Expected behavior:
Using O3-mini api should return normally
Actual behavior:
Using O3-mini api returns the information "Error: An error occurred while processing the request: Object of type ModelModel is not JSON serializable"
Description
Error summary:
"Error: An error occurred while processing the request: Object of type ModelModel is not JSON serializable"
Logs and screenshots
@tjbck commented on GitHub (Feb 7, 2025):
Is this reproducible with any other models? Could you please provide relevant backend/frontend logs also?