mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 22:18:00 +00:00
remove unused CreateBatchRequest, update completion_window to be literal "24h"
This commit is contained in:
parent
e6d5bf5588
commit
a0cd3c775d
4 changed files with 7 additions and 18 deletions
|
@ -10,7 +10,7 @@ import json
|
|||
import time
|
||||
import uuid
|
||||
from io import BytesIO
|
||||
from typing import Any
|
||||
from typing import Any, Literal
|
||||
|
||||
from openai.types.batch import BatchError, Errors
|
||||
from pydantic import BaseModel
|
||||
|
@ -108,7 +108,7 @@ class ReferenceBatchesImpl(Batches):
|
|||
self,
|
||||
input_file_id: str,
|
||||
endpoint: str,
|
||||
completion_window: str,
|
||||
completion_window: Literal["24h"],
|
||||
metadata: dict[str, str] | None = None,
|
||||
) -> BatchObject:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue