Commit Graph
1 Commits
Author SHA1 Message Date
sk-dev-ai f3593e3790 feat: emit top-level context_window and capability flags in /v1/models
Discovery clients (jcode, Pi, etc.) read context_length/context_window and
supported_reasoning_levels at the TOP LEVEL of each /v1/models entry, not
inside a nested metadata object. Emit both: keep the rich nested metadata
object AND mirror context_window/context_length/max_input/max_output/
reasoning/tool_call/structured_output at the top level so standard OpenAI
model-discovery clients get correct context windows without config.
2026-09-04 10:56:13 +05:30