mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
* feat(proxy): honor model_info.max_input_tokens in the Codex catalog for stock models A Codex model catalog entry copied from Codex's stock entry (a stock slug, or an alias whose upstream is one) now takes the max_input_tokens every routable deployment of the group sets as its context_window, capped at the stock entry's max_context_window like Codex's own model_context_window. With nothing set, the stock window stays. * feat(proxy): honor the smallest max_input_tokens a group's deployments set in the Codex catalog A deployment without a limit counts as Codex's own window, so a limit on only some deployments can lower the window but never raise it * fix(proxy): skip a zero or negative max_input_tokens when sizing a Codex catalog window * test(proxy): stub the max_input_tokens group field and type the Codex window tests * fix(proxy): skip a max_input_tokens a saved /model/info response copied from the cost map --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| _a2a_peers.py | ||
| _status_code_audit.py | ||
| test_a2a_protocol_version_bridge.py | ||
| test_a2a_protocol_version_errors.py | ||
| test_a2a_protocol_version_override.py | ||
| test_a2a_wire_versions.py | ||
| test_audio_speech_wire.py | ||
| test_audio_transcriptions_wire.py | ||
| test_audio_translations_wire.py | ||
| test_codex_model_catalog.py | ||
| test_compressed_request_bodies.py | ||
| test_embedding_path_aliases.py | ||
| test_fine_tuning_jobs.py | ||
| test_fine_tuning_managed_files_chaos.py | ||
| test_granian_admission_saturation.py | ||
| test_integration_worker_cleanup.py | ||
| test_missing_body_param_status.py | ||
| test_openai_consumer.py | ||
| test_openai_sdk_client_paths.py | ||
| test_openai_sdk_client_paths_chaos.py | ||
| test_persisted_toolsets.py | ||
| test_prompt_management_routes.py | ||
| test_proxy_utils.py | ||
| test_responses_openapi_schema.py | ||
| test_status_code_followups.py | ||
| test_status_code_followups_chaos.py | ||
| test_status_code_followups_defaults.py | ||
| test_status_code_followups_requests.py | ||