mirror of
https://fastgit.cc/github.com/Michael-A-Kuykendall/shimmy
synced 2026-05-01 06:12:44 +08:00
- Remove extra fields (root, parent, permission) from /v1/models response - Create separate ListModel struct for models endpoint that matches OpenAI spec exactly - Update created timestamp to use proper system time instead of 0 - Update all tests to use the new ListModel structure Root cause: Frontend applications like Open WebUI and AnythingLLM expect strict OpenAI API compliance. The extra fields in shimmy's Model struct were causing them to reject the API as incompatible. Fix ensures /v1/models returns only: id, object, created, owned_by - matching OpenAI specification exactly.