fix linting errors

This commit is contained in:
Ishaan Jaff 2024-07-30 12:51:39 -07:00
parent 1e1bce4594
commit 66211b42db
2 changed files with 5 additions and 3 deletions

View file

@ -2609,7 +2609,7 @@ class OpenAIBatchesAPI(BaseLLM):
limit: Optional[int] = None,
):
verbose_logger.debug("listing batches, after= %s, limit= %s", after, limit)
response = await openai_client.batches.list(after=after, limit=limit)
response = await openai_client.batches.list(after=after, limit=limit) # type: ignore
return response
def list_batches(
@ -2646,7 +2646,7 @@ class OpenAIBatchesAPI(BaseLLM):
return self.alist_batches( # type: ignore
openai_client=openai_client, after=after, limit=limit
)
response = openai_client.batches.list(after=after, limit=limit)
response = openai_client.batches.list(after=after, limit=limit) # type: ignore
return response