Skip to content

Commit 49b30d5

Browse files
authored
add turbo pro (#353)
1 parent d98a918 commit 49b30d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

erniebot/src/erniebot/resources/chat_completion.py

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
7373
"ernie-lite-8k-0308": {
7474
"model_id": "ernie-lite-8k",
7575
},
76+
"ernie-4.0-turbo-8k": {
77+
"model_id": "ernie-4.0-turbo-8k",
78+
},
7679
"ernie-4.0": {
7780
"model_id": "completions_pro",
7881
},
@@ -108,6 +111,9 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
108111
"ernie-lite": {
109112
"model_id": "eb-instant",
110113
},
114+
"ernie-4.0-turbo-8k": {
115+
"model_id": "ernie-4.0-turbo-8k",
116+
},
111117
"ernie-4.0": {
112118
"model_id": "completions_pro",
113119
},

0 commit comments

Comments
 (0)