mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-07 00:24:17 +08:00
- Add optional `max-context-length` model configuration across supported provider model types and expose it via `GetMaxContextLength`. - Propagate the override into model metadata so Codex/client model catalog responses honor the configured value (`context_window`, `max_context_window`, and `max_context_length`). - Update example configuration with documented usage of the new option. Closes: #4728