Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-Mcat committed Aug 20, 2024
1 parent 9a043a1 commit 4f45fd6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions erniebot/src/erniebot/resources/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,8 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
"ernie-char-8k": {
"model_id": "ernie-char-8k",
},
"ernie-func-8k": {
"model_id": "ernie-func-8k"
},
"ernie-function-8k": {
"model_id": "ernie-func-8k"
}
"ernie-func-8k": {"model_id": "ernie-func-8k"},
"ernie-function-8k": {"model_id": "ernie-func-8k"},
},
},
APIType.AISTUDIO: {
Expand Down Expand Up @@ -135,12 +131,8 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
"ernie-char-8k": {
"model_id": "ernie-char-8k",
},
"ernie-func-8k": {
"model_id": "ernie-func-8k"
},
"ernie-function-8k": {
"model_id": "ernie-func-8k"
}
"ernie-func-8k": {"model_id": "ernie-func-8k"},
"ernie-function-8k": {"model_id": "ernie-func-8k"},
},
},
APIType.CUSTOM: {
Expand Down

0 comments on commit 4f45fd6

Please sign in to comment.