Skip to content

Commit

Permalink
remove longtext
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-Mcat committed Apr 11, 2024
1 parent 00246d6 commit 5e0eb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erniebot/src/erniebot/resources/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class ChatCompletion(EBResource, CreatableWithStreaming):

@staticmethod
def check_models(model: str):
if model in ["ernie-longtext", "ernie-bot-8k"]:
if model in ["ernie-bot-8k"]:
logging.warning(f"{model} will be deprecated after 2024.4.11, so we will automatically map it to ernie-3.5-8k")

@overload
Expand Down

0 comments on commit 5e0eb9d

Please sign in to comment.