mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
remove unnecessary check
This commit is contained in:
parent
77912e6590
commit
504bef52cf
1 changed files with 0 additions and 12 deletions
|
|
@ -263,18 +263,6 @@ async def _get_vertex_ai_batch_output_with_custom_id(
|
|||
)
|
||||
output_lines = _get_file_content_as_dictionary(output_content.content)
|
||||
|
||||
input_content = await afile_content(
|
||||
file_id=batch.input_file_id,
|
||||
custom_llm_provider="vertex_ai",
|
||||
**credentials,
|
||||
)
|
||||
input_lines = _get_file_content_as_dictionary(input_content.content)
|
||||
|
||||
if len(output_lines) != len(input_lines):
|
||||
raise ValueError(
|
||||
"Vertex AI batch output line count does not match input line count"
|
||||
)
|
||||
|
||||
output_has_keys = all(
|
||||
(line.get("custom_id") or line.get("key")) for line in output_lines
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue