🚀 feat(tests): update default values for OpenAI models in chat and text fields

The default value for the OpenAI model in the chat field has been updated to "gpt-3.5-turbo-0613" to reflect the latest version of the model. The default value for the OpenAI model in the text field has been updated to "text-davinci-003" to reflect the latest version of the model. This ensures that the tests are using the latest and most accurate models for OpenAI.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-23 09:19:25 -03:00
commit cc8e5e3106
2 changed files with 3 additions and 1 deletions

View file

@ -369,7 +369,7 @@ def test_chat_open_ai(client: TestClient):
"placeholder": "", "placeholder": "",
"show": True, "show": True,
"multiline": False, "multiline": False,
"value": "gpt-3.5-turbo", "value": "gpt-3.5-turbo-0613",
"password": False, "password": False,
"options": [ "options": [
"gpt-3.5-turbo-0613", "gpt-3.5-turbo-0613",

View file

@ -222,6 +222,7 @@ def test_format_dict():
"password": False, "password": False,
"multiline": False, "multiline": False,
"options": OPENAI_MODELS, "options": OPENAI_MODELS,
"value": "text-davinci-003",
}, },
} }
expected_output_openai_chat = { expected_output_openai_chat = {
@ -233,6 +234,7 @@ def test_format_dict():
"password": False, "password": False,
"multiline": False, "multiline": False,
"options": CHAT_OPENAI_MODELS, "options": CHAT_OPENAI_MODELS,
"value": "gpt-3.5-turbo-0613",
}, },
} }
assert format_dict(input_dict, "OpenAI") == expected_output_openai assert format_dict(input_dict, "OpenAI") == expected_output_openai