mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #10411] ❗ Bug: ModelModel Not JSON Serializable in OpenWebUI v0.5.14 #15884
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 @samuelpetermoshi on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10411
Description:
After updating to OpenWebUI v0.5.14, I encountered an issue where the API throws a
Connection error: Object of type ModelModel is not JSON serializable. This appears when making requests to retrieve available models.This issue affects the monitoring pipelines for the built-in OpenAI and Ollama models. Due to the error, their data is not being sent to the following monitoring pipelines:
Installation Method
Environment
Expected Behavior
The system should retrieve the model list without errors.
Actual Behavior
When calling
get_all_models(), the system encounters aConnection error: Object of type ModelModel is not JSON serializable.Steps to Reproduce
Logs and Screenshots
Additional Information
get_all_models().Would appreciate any guidance on fixing this issue. Thanks! 🙏 @tjbck
cc: @maycszz
@tjbck commented on GitHub (Feb 20, 2025):
This might already be addressed in dev, testing wanted here!