mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-02 18:08:13 +00:00
* Map context_length for OpenRouter models OpenRouter's API returns context_length for each model, but it was not being mapped to the context field in the model list response. This caused the context window size to be missing for all OpenRouter models. Closes #2347 * Add context field to MistralAI and OpenAI model definitions Addresses reviewer feedback to support the context field in more providers. All 9 providers now consistently expose context window sizes via the context field. - MistralAI: 16 models (context matches known window sizes) - OpenAI: 27 models (128k for GPT series, 200k for o-series, 1M+ for GPT-4.1 and GPT-5.4)