Skip to content

Commit 833be38

Browse files
author
caojunchao
committed
接入 Moderation
1 parent 3effd0f commit 833be38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/test_moderation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_completions_temp0(logging_conf):
1616
request_id = time.time()
1717
print(f"request_id:{request_id}")
1818
response = client.moderation.moderations.create(
19-
model="moderations",
19+
model="moderation",
2020
input={
2121
"type": "text",
2222
"text": "hello world "

0 commit comments

Comments
 (0)