Skip to content

Commit 9a043a1

Browse files
committed
add ernie-func-8k model
1 parent 49b30d5 commit 9a043a1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

erniebot/src/erniebot/resources/chat_completion.py

+12
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
9797
"ernie-char-8k": {
9898
"model_id": "ernie-char-8k",
9999
},
100+
"ernie-func-8k": {
101+
"model_id": "ernie-func-8k"
102+
},
103+
"ernie-function-8k": {
104+
"model_id": "ernie-func-8k"
105+
}
100106
},
101107
},
102108
APIType.AISTUDIO: {
@@ -129,6 +135,12 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
129135
"ernie-char-8k": {
130136
"model_id": "ernie-char-8k",
131137
},
138+
"ernie-func-8k": {
139+
"model_id": "ernie-func-8k"
140+
},
141+
"ernie-function-8k": {
142+
"model_id": "ernie-func-8k"
143+
}
132144
},
133145
},
134146
APIType.CUSTOM: {

0 commit comments

Comments
 (0)