test_above_max_tier0/ test_above_max_tiercurrent test_anthropic_does_not_preser0/ test_anthropic_does_not_presercurrent test_anthropic_domain_unchange0/ test_anthropic_domain_unchangecurrent test_anthropic_format0/ test_anthropic_formatcurrent test_anthropic_in_subpath_unch0/ test_anthropic_in_subpath_unchcurrent test_anthropic_still_returns_a0/ test_anthropic_still_returns_acurrent test_api_failure_returns_empty0/ test_api_failure_returns_emptycurrent test_api_failure_returns_stale0/ test_api_failure_returns_stalecurrent test_api_missing_context_lengt0/ test_api_missing_context_lengtcurrent test_bedrock_provider_returns_0/ test_bedrock_provider_returns_current test_bedrock_url_without_provi0/ test_bedrock_url_without_provicurrent test_bigmodel_cn_url_preserves0/ test_bigmodel_cn_url_preservescurrent test_build_anthropic_bedrock_c0/ test_build_anthropic_bedrock_ccurrent test_bypass_keyed_on_url_not_p0/ test_bypass_keyed_on_url_not_pcurrent test_cache_takes_priority_over0/ test_cache_takes_priority_overcurrent test_cached_value_takes_priori0/ test_cached_value_takes_prioricurrent test_caches_result0/ test_caches_resultcurrent test_canonical_slug_aliasing0/ test_canonical_slug_aliasingcurrent test_claude_output_unaffected0/ test_claude_output_unaffectedcurrent test_common_betas_empty_url0/ test_common_betas_empty_urlcurrent test_common_betas_minimax_cn_u0/ test_common_betas_minimax_cn_ucurrent test_common_betas_minimax_url0/ test_common_betas_minimax_urlcurrent test_common_betas_none_url0/ test_common_betas_none_urlcurrent test_common_betas_regular_url0/ test_common_betas_regular_urlcurrent test_common_betas_strips_1m_fo0/ test_common_betas_strips_1m_focurrent test_completely_unrelated_erro0/ test_completely_unrelated_errocurrent test_config_context_length_non0/ test_config_context_length_noncurrent test_config_context_length_ove0/ test_config_context_length_ovecurrent test_config_context_length_zer0/ test_config_context_length_zercurrent test_context_length_exceeded0/ test_context_length_exceededcurrent test_context_size_exceeded0/ test_context_size_exceededcurrent test_correct_m3_cache_preserve0/ test_correct_m3_cache_preservecurrent test_corrupted_yaml_returns_em0/ test_corrupted_yaml_returns_emcurrent test_custom_base_url_keeps_too0/ test_custom_base_url_keeps_toocurrent test_custom_endpoint_fuzzy_sub0/ test_custom_endpoint_fuzzy_subcurrent test_custom_endpoint_metadata_0/ test_custom_endpoint_metadata_current test_custom_endpoint_single_mo0/ test_custom_endpoint_single_mocurrent test_custom_endpoint_without_m0/ test_custom_endpoint_without_mcurrent test_custom_providers_uses_liv0/ test_custom_providers_uses_livcurrent test_deepseek_thinking_reaches0/ test_deepseek_thinking_reachescurrent test_deepseek_v4_models_1m_con0/ test_deepseek_v4_models_1m_concurrent test_disabled_emits_thinking_d0/ test_disabled_emits_thinking_d1/ test_disabled_emits_thinking_dcurrent test_empty_list0/ test_empty_listcurrent test_empty_string0/ test_empty_string1/ test_empty_string2/ test_empty_stringcurrent test_fallback_table_used_witho0/ test_fallback_table_used_withocurrent test_fallback_to_defaults0/ test_fallback_to_defaultscurrent test_fresh_codex_cache_under_40/ test_fresh_codex_cache_under_4current test_from_128k0/ test_from_128kcurrent test_from_256k0/ test_from_256kcurrent test_from_32k0/ test_from_32kcurrent test_from_64k0/ test_from_64kcurrent test_from_8k_returns_none0/ test_from_8k_returns_nonecurrent test_from_arbitrary_value0/ test_from_arbitrary_valuecurrent test_from_below_min_returns_no0/ test_from_below_min_returns_nocurrent test_grok_substring_matching0/ test_grok_substring_matchingcurrent test_helper_returns_204800_for0/ test_helper_returns_204800_forcurrent test_helper_returns_curated_fo0/ test_helper_returns_curated_focurrent test_helper_returns_none_for_u0/ test_helper_returns_none_for_ucurrent test_high_effort_emits_thinkin0/ test_high_effort_emits_thinkin1/ test_high_effort_emits_thinkincurrent test_http_urls_preserved0/ test_http_urls_preservedcurrent test_idempotent_save0/ test_idempotent_savecurrent test_kimi_reasoning_reaches_ex0/ test_kimi_reasoning_reaches_excurrent test_known_length0/ test_known_lengthcurrent test_known_model_from_api0/ test_known_model_from_apicurrent test_known_provider_prefix_is_0/ test_known_provider_prefix_is_current test_list_authenticated_provid0/ test_list_authenticated_provid1/ test_list_authenticated_provid2/ test_list_authenticated_provid3/ test_list_authenticated_provid4/ test_list_authenticated_provid5/ test_list_authenticated_provid6/ test_list_authenticated_provid7/ test_list_authenticated_providcurrent test_list_dedupes_dict_model_m0/ test_list_dedupes_dict_model_mcurrent test_list_deduplicates_same_mo0/ test_list_deduplicates_same_mocurrent test_list_enumerates_dict_form0/ test_list_enumerates_dict_form1/ test_list_enumerates_dict_formcurrent test_list_groups_same_name_cus0/ test_list_groups_same_name_cuscurrent test_live_probe_overrides_fall0/ test_live_probe_overrides_fallcurrent test_lmstudio_format0/ test_lmstudio_formatcurrent test_lmstudio_picker_lm_base_u0/ test_lmstudio_picker_lm_base_ucurrent test_lmstudio_picker_probes_ac0/ test_lmstudio_picker_probes_accurrent test_lmstudio_picker_skips_pro0/ test_lmstudio_picker_skips_procurrent test_low_and_medium_pass_throu0/ test_low_and_medium_pass_throucurrent test_m2_cache_not_clobbered0/ test_m2_cache_not_clobberedcurrent test_malformed_json_no_data_ke0/ test_malformed_json_no_data_kecurrent test_merge_case_insensitive_de0/ test_merge_case_insensitive_decurrent test_merge_empty_mdev_returns_0/ test_merge_empty_mdev_returns_current test_merge_mdev_first_then_cur0/ test_merge_mdev_first_then_curcurrent test_merge_mdev_raises_returns0/ test_merge_mdev_raises_returnscurrent test_message_with_huge_base64_0/ test_message_with_huge_base64_current test_message_with_list_content0/ test_message_with_list_contentcurrent test_minimal_effort_enables_th0/ test_minimal_effort_enables_th1/ test_minimal_effort_enables_thcurrent test_minimax_aux_is_standard0/ test_minimax_aux_is_standardcurrent test_minimax_aux_not_highspeed0/ test_minimax_aux_not_highspeedcurrent test_minimax_cn_anthropic_suff0/ test_minimax_cn_anthropic_suffcurrent test_minimax_cn_omits_tool_str0/ test_minimax_cn_omits_tool_strcurrent test_minimax_cn_provider_prese0/ test_minimax_cn_provider_presecurrent test_minimax_cn_returns_anthro0/ test_minimax_cn_returns_anthrocurrent test_minimax_cn_trailing_slash0/ test_minimax_cn_trailing_slashcurrent test_minimax_cn_url_preserves_0/ test_minimax_cn_url_preserves_current test_minimax_delta_only_messag0/ test_minimax_delta_only_messagcurrent test_minimax_global_anthropic_0/ test_minimax_global_anthropic_current test_minimax_global_omits_tool0/ test_minimax_global_omits_toolcurrent test_minimax_global_trailing_s0/ test_minimax_global_trailing_scurrent test_minimax_m25_gets_manual_t0/ test_minimax_m25_gets_manual_tcurrent test_minimax_m25_output_limit0/ test_minimax_m25_output_limitcurrent test_minimax_m27_gets_manual_t0/ test_minimax_m27_gets_manual_tcurrent test_minimax_m27_output_limit0/ test_minimax_m27_output_limitcurrent test_minimax_m2_output_limit0/ test_minimax_m2_output_limitcurrent test_minimax_m3_resolves_to_1m0/ test_minimax_m3_resolves_to_1mcurrent test_minimax_models_resolve_vi0/ test_minimax_models_resolve_vicurrent test_minimax_prefix_has_correc0/ test_minimax_prefix_has_correccurrent test_minimax_provider_preserve0/ test_minimax_provider_preservecurrent test_minimax_returns_anthropic0/ test_minimax_returns_anthropiccurrent test_minimax_url_preserves_dot0/ test_minimax_url_preserves_dotcurrent test_minimax_with_url_also_wor0/ test_minimax_with_url_also_worcurrent test_missing_cache_returns_non0/ test_missing_cache_returns_noncurrent test_models_dev_equal_value_ac0/ test_models_dev_equal_value_accurrent test_models_dev_higher_value_a0/ test_models_dev_higher_value_acurrent test_models_dev_underreport_re0/ test_models_dev_underreport_recurrent test_multiple_messages_additiv0/ test_multiple_messages_additivcurrent test_multiple_models_cached0/ test_multiple_models_cachedcurrent test_native_anthropic_keeps_to0/ test_native_anthropic_keeps_tocurrent test_no_base_url_skips_cache0/ test_no_base_url_skips_cachecurrent test_no_colon_returns_unchange0/ test_no_colon_returns_unchangecurrent test_no_config_emits_thinking_0/ test_no_config_emits_thinking_current test_no_config_preserves_serve0/ test_no_config_preserves_servecurrent test_no_limit_in_message0/ test_no_limit_in_messagecurrent test_non_bedrock_url_still_pro0/ test_non_bedrock_url_still_procurrent test_non_codex_providers_unaff0/ test_non_codex_providers_unaffcurrent test_non_target_models_emit_no0/ test_non_target_models_emit_no1/ test_non_target_models_emit_no2/ test_non_target_models_emit_no3/ test_non_target_models_emit_no4/ test_non_target_models_emit_no5/ test_non_target_models_emit_no6/ test_non_target_models_emit_nocurrent test_none0/ test_none_returns_zero0/ test_none_returns_zerocurrent test_nonecurrent test_normalize_preserves_m25_f0/ test_normalize_preserves_m25_fcurrent test_normalize_preserves_m27_d0/ test_normalize_preserves_m27_dcurrent test_normalize_preserves_non_a0/ test_normalize_preserves_non_acurrent test_normalize_still_converts_0/ test_normalize_still_converts_current test_nous_not_in_preferred_set0/ test_nous_not_in_preferred_setcurrent test_number_outside_reasonable0/ test_number_outside_reasonablecurrent test_ollama_format0/ test_ollama_formatcurrent test_ollama_model_tag_not_mang0/ test_ollama_model_tag_not_mangcurrent test_ollama_model_tag_preserve0/ test_ollama_model_tag_preservecurrent test_openai_format0/ test_openai_formatcurrent test_openai_returns_chat_compl0/ test_openai_returns_chat_complcurrent test_opencode_go_includes_fres0/ test_opencode_go_includes_frescurrent test_opencode_go_is_preferred0/ test_opencode_go_is_preferredcurrent test_opencode_go_offline_falls0/ test_opencode_go_offline_fallscurrent test_opencode_zen_includes_fre0/ test_opencode_zen_includes_frecurrent test_opencode_zen_live_resolut0/ test_opencode_zen_live_resolutcurrent test_opencode_zen_provider_pre0/ test_opencode_zen_provider_precurrent test_opencode_zen_url_preserve0/ test_opencode_zen_url_preservecurrent test_openrouter_does_not_call_0/ test_openrouter_does_not_call_current test_openrouter_fallback_is_no0/ test_openrouter_fallback_is_nocurrent test_openrouter_not_in_preferr0/ test_openrouter_not_in_preferrcurrent test_openrouter_url_unchanged0/ test_openrouter_url_unchangedcurrent test_partial_match_in_defaults0/ test_partial_match_in_defaultscurrent test_portal_value_is_persisted0/ test_portal_value_is_persistedcurrent test_portal_value_wins_over_op0/ test_portal_value_wins_over_opcurrent test_probe_failure_falls_back_0/ test_probe_failure_falls_back_current test_proportional0/ test_proportionalcurrent test_provider_prefixed_models_0/ test_provider_prefixed_models_current test_qwen3_6_plus_context_leng0/ test_qwen3_6_plus_context_lengcurrent test_qwen3_coder_context_lengt0/ test_qwen3_coder_context_lengtcurrent test_qwen3_coder_plus_context_0/ test_qwen3_coder_plus_context_current test_qwen_generic_context_leng0/ test_qwen_generic_context_lengcurrent test_resolve_provider_full_fin0/ test_resolve_provider_full_fincurrent test_same_model_different_prov0/ test_same_model_different_provcurrent test_save_and_load0/ test_save_and_loadcurrent test_short_text0/ test_short_textcurrent test_single_message_concrete_v0/ test_single_message_concrete_vcurrent test_special_chars_in_model_na0/ test_special_chars_in_model_nacurrent test_stale_cache_is_bypassed_a0/ test_stale_cache_is_bypassed_acurrent test_stale_cache_survives_when0/ test_stale_cache_survives_whencurrent test_stale_codex_cache_over_400/ test_stale_codex_cache_over_40current test_stale_invalidation_scoped0/ test_stale_invalidation_scopedcurrent test_stale_m3_cache_dropped_an0/ test_stale_m3_cache_dropped_ancurrent test_strong_efforts_clamp_to_h0/ test_strong_efforts_clamp_to_h1/ test_strong_efforts_clamp_to_hcurrent test_suggests_minimax_m30/ test_suggests_minimax_m3current test_switch_model_accepts_expl0/ test_switch_model_accepts_explcurrent test_switch_to_minimax_does_no0/ test_switch_to_minimax_does_nocurrent test_thinking_still_works_for_0/ test_thinking_still_works_for_current test_third_party_proxy_keeps_t0/ test_third_party_proxy_keeps_tcurrent test_tiers_descending0/ test_tiers_descendingcurrent test_tool_call_message0/ test_tool_call_messagecurrent test_trailing_slash_stripped_b0/ test_trailing_slash_stripped_bcurrent test_ttl_expiry_triggers_refet0/ test_ttl_expiry_triggers_refetcurrent test_unicode_multibyte0/ test_unicode_multibytecurrent test_unknown_model_returns_fir0/ test_unknown_model_returns_fircurrent test_unreasonable_small_number0/ test_unreasonable_small_numbercurrent test_update_existing_value0/ test_update_existing_valuecurrent test_v1_url_unchanged0/ test_v1_url_unchangedcurrent test_wrong_structure_returns_n0/ test_wrong_structure_returns_ncurrent test_xai_oauth_grok_build_uses0/ test_xai_oauth_grok_build_usescurrent test_xhigh_and_max_normalize_t0/ test_xhigh_and_max_normalize_tcurrent test_zai_provider_preserves_do0/ test_zai_provider_preserves_docurrent test_zero_returns_none0/ test_zero_returns_nonecurrent