forked from phoenix/litellm-mirror
fix typing errors
This commit is contained in:
parent
fa7037e48a
commit
f3ac6493e8
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ async def acreate_batch(
|
|||
|
||||
def create_batch(
|
||||
completion_window: Literal["24h"],
|
||||
endpoint: Literal["/v1/chat/completions", "/v1/embeddings"],
|
||||
endpoint: Literal["/v1/chat/completions", "/v1/embeddings", "/v1/completions"],
|
||||
input_file_id: str,
|
||||
custom_llm_provider: Literal["openai"] = "openai",
|
||||
metadata: Optional[Dict[str, str]] = None,
|
||||
|
|
|
@ -257,7 +257,7 @@ class CreateBatchRequest(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
completion_window: Literal["24h"]
|
||||
endpoint: Literal["/v1/chat/completions", "/v1/embeddings"]
|
||||
endpoint: Literal["/v1/chat/completions", "/v1/embeddings", "/v1/completions"]
|
||||
input_file_id: str
|
||||
metadata: Optional[Dict[str, str]]
|
||||
extra_headers: Optional[Dict[str, str]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue