forked from phoenix/litellm-mirror
fix openai completion model names
The model names are wrong, they need to be prefixed with `text-`.
This commit is contained in:
parent
70a36740bc
commit
6d998ea541
1 changed files with 9 additions and 2 deletions
|
@ -91,7 +91,14 @@ open_ai_chat_completion_models = [
|
||||||
"gpt-3.5-turbo-16k",
|
"gpt-3.5-turbo-16k",
|
||||||
"gpt-3.5-turbo-16k-0613",
|
"gpt-3.5-turbo-16k-0613",
|
||||||
]
|
]
|
||||||
open_ai_text_completion_models = ["text-davinci-003", "curie-001", "babbage-001", "ada-001", "babbage-002", "davinci-002"]
|
open_ai_text_completion_models = [
|
||||||
|
"text-davinci-003",
|
||||||
|
"text-curie-001",
|
||||||
|
"text-babbage-001",
|
||||||
|
"text-ada-001",
|
||||||
|
"text-babbage-002",
|
||||||
|
"text-davinci-002",
|
||||||
|
]
|
||||||
|
|
||||||
cohere_models = [
|
cohere_models = [
|
||||||
"command-nightly",
|
"command-nightly",
|
||||||
|
@ -256,4 +263,4 @@ from .exceptions import (
|
||||||
ContextWindowExceededError,
|
ContextWindowExceededError,
|
||||||
|
|
||||||
)
|
)
|
||||||
from .budget_manager import BudgetManager
|
from .budget_manager import BudgetManager
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue