Vertex AI batch IDs are plain numeric strings (e.g., "3814889423749775360") unlike OpenAI's "batch_"-prefixed IDs. encode_file_id_with_model() was defaulting to "file-" prefix for unrecognized ID formats, causing Vertex AI batch responses to return IDs like "file-bGl0ZWxsbTox..." instead of the expected "batch_..." prefix per the OpenAI Batch API contract. Add an optional id_type parameter to encode_file_id_with_model() so the batch creation endpoint can specify id_type="batch" when encoding batch response IDs. Default remains "file" for backward compatibility. Closes #18192 |
||
|---|---|---|
| .. | ||
| a2a_protocol/providers/pydantic_ai_agents | ||
| llms | ||
| proxy | ||
| test_batch_completion_models_all_responses.py | ||
| test_bedrock_extended_beta_models.py | ||
| test_proxy_auth.py | ||
| test_router_retry_backoff_headers.py | ||
| test_stream_chunk_builder_images.py | ||