Skip to content

Commit 4d93b98

Browse files
author
jinhaiyang
committed
【batch-api】支持自动删除input文件
1 parent 69a7c37 commit 4d93b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zhipuai/api_resource/batches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self, client: "ZhipuAI") -> None:
2020
def create(
2121
self,
2222
*,
23-
completion_window: str,
23+
completion_window: str | None = None,
2424
endpoint: Literal["/v1/chat/completions", "/v1/embeddings"],
2525
input_file_id: str,
2626
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,

0 commit comments

Comments
 (0)