chore: 删除已被OpenAI弃用的模型 (#658)

This commit is contained in:
RockChinQ
2024-01-12 14:48:49 +08:00
parent 461b574e09
commit f9a99eed66
3 changed files with 1 additions and 15 deletions
-7
View File
@@ -13,13 +13,6 @@ from ..openai.api import completion as api_completion
from ..openai.api import chat_completion as api_chat_completion
COMPLETION_MODELS = {
"text-davinci-003", # legacy
"text-davinci-002", # legacy
"code-davinci-002", # legacy
"code-cushman-001", # legacy
"text-curie-001", # legacy
"text-babbage-001", # legacy
"text-ada-001", # legacy
"gpt-3.5-turbo-instruct",
}