mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* fix(vertex_ai): give json_schema anyOf branches the keys BigQuery merges in Gemini batch rows Vertex loads a batch file through BigQuery, which merges the keys of every schema in one anyOf, oneOf, allOf, or prefixItems list and sets the ones a schema lacks to null, which Vertex then refuses. A schema missing a key its siblings set now gets a copy of it when the key is an annotation or does not apply to its type, and the upload answers 400 naming the line otherwise * fix(vertex_ai): fill json_schema anyOf branches with empty annotations and cache the alignment in Gemini batch rows * fix(vertex_ai): count escaped JSON bytes against the Gemini batch json_schema growth cap * perf(vertex_ai): reuse the last 8 aligned json_schemas in Gemini batch rows * fix(vertex_ai): send a batch json_schema the repair cannot fix as is, and bound the schema cache A schema whose anyOf branches cannot be padded (models with different fields, an untyped branch, growth past the inlining cap, or nesting past 100 levels) now goes to Vertex unchanged, so only its row fails after the batch and the file's other rows still run, as on main. The cache of aligned schemas skips any schema over 65,536 characters before or after the repair, so a worker keeps about 1 MB for it. * fix(vertex_ai): give a same-type anyOf branch the value that changes nothing in Gemini batch json_schemas A datetime | str or AnyUrl | str field still failed its batch row, since copying format or minLength onto the plain string branch would narrow it. That branch now gets an empty format or pattern, minLength or minItems of 0, or uniqueItems false, which Vertex accepts and which match what the schema already allowed |
||
|---|---|---|
| .. | ||
| azure_client_usage_test.py | ||
| ban_constant_numbers.py | ||
| ban_copy_deepcopy_kwargs.py | ||
| callback_manager_test.py | ||
| check_data_replace_usage.py | ||
| check_e2e_no_raw_requests.py | ||
| check_endpoint_coverage.py | ||
| check_fastuuid_usage.py | ||
| check_get_model_cost_key_performance.py | ||
| check_guardrail_apply_decorator.py | ||
| check_licenses.py | ||
| check_migrations_lock_timeout.py | ||
| check_migrations_no_data_rewrites.py | ||
| check_no_none_string_error_fields.py | ||
| check_no_publicly_known_master_key.py | ||
| check_prisma_binary_cache.py | ||
| check_provider_folders_documented.py | ||
| check_py310_typing_imports.py | ||
| check_router_constructor_stub.py | ||
| check_spanattributes_value_usage.py | ||
| check_telemetry_imports.py | ||
| check_unbounded_in_lists.py | ||
| check_unsafe_enterprise_import.py | ||
| check_workflow_job_name_collisions.py | ||
| check_workflow_startup_safety.py | ||
| code_qa_check_tests.py | ||
| dependency_license_cache.json | ||
| enforce_llms_folder_style.py | ||
| ensure_async_clients_test.py | ||
| info_log_check.py | ||
| liccheck.ini | ||
| license_cache.json | ||
| litellm_logging_code_coverage.py | ||
| log.txt | ||
| memory_test.py | ||
| prevent_key_leaks_in_exceptions.py | ||
| recursive_detector.py | ||
| router_code_coverage.py | ||
| router_enforce_line_length.py | ||
| router_litellm_globals_check.py | ||
| router_surface_allowlist.json | ||
| router_surface_check.py | ||
| test_aio_http_image_conversion.py | ||
| test_ban_set_verbose.py | ||
| test_chat_completion_imports.py | ||
| test_check_no_none_string_error_fields.py | ||
| test_check_no_publicly_known_master_key.py | ||
| test_e2e_idp_stack.py | ||
| test_e2e_junit_report.py | ||
| test_e2e_metadata.py | ||
| test_generate_provider_endpoints_support.py | ||
| test_merge_smoke.py | ||
| test_no_hardcoded_secrets.py | ||
| test_provider_cache.py | ||
| test_provider_replay_harness.py | ||
| test_proxy_types_import.py | ||
| test_router_strategy_async.py | ||
| test_run_parallel_checks.py | ||
| test_scan_bundled_crypto.py | ||
| test_unit_passed_gate.py | ||
| test_workflow_job_name_collisions.py | ||
| unbounded_in_baseline.txt | ||