mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
Fix:Argument llm_provider
This commit is contained in:
parent
b9d3d7c059
commit
a69384598c
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ from litellm.llms.custom_httpx.http_handler import (
|
|||
get_async_httpx_client,
|
||||
)
|
||||
from litellm.types.llms.openai import RetrieveBatchRequest
|
||||
from litellm.types.utils import LiteLLMBatch
|
||||
from litellm.types.utils import LiteLLMBatch, LlmProviders
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from litellm.litellm_core_utils.litellm_logging import Logging as LiteLLMLoggingObj
|
||||
|
|
@ -106,7 +106,7 @@ class AnthropicBatchesHandler:
|
|||
},
|
||||
)
|
||||
# Make the request
|
||||
async_client = get_async_httpx_client(llm_provider="anthropic")
|
||||
async_client = get_async_httpx_client(llm_provider=LlmProviders.ANTHROPIC)
|
||||
response = await async_client.get(
|
||||
url=retrieve_url,
|
||||
headers=headers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue