test: add variant flag formats for model switches

This commit is contained in:
Paul Gauthier (aider) 2025-03-08 13:47:31 -08:00
parent e6623ae0a8
commit 4c35f88ea0

View file

@ -31,10 +31,14 @@ class TestDeprecated(TestCase):
"--sonnet",
"--haiku",
"--4",
"-4",
"--4o",
"--mini",
"--4-turbo",
"--35turbo",
"--35-turbo",
"--3",
"-3",
"--deepseek",
"--o1-mini",
"--o1-preview",
@ -99,10 +103,15 @@ class TestDeprecated(TestCase):
("sonnet", "anthropic/claude-3-7-sonnet-20250219"),
("haiku", "claude-3-5-haiku-20241022"),
("4", "gpt-4-0613"),
# Testing the dash variant with underscore in attribute name
("_4", "gpt-4-0613"),
("4o", "gpt-4o"),
("mini", "gpt-4o-mini"),
("4_turbo", "gpt-4-1106-preview"),
("35turbo", "gpt-3.5-turbo"),
("35_turbo", "gpt-3.5-turbo"),
("3", "gpt-3.5-turbo"),
("_3", "gpt-3.5-turbo"),
("deepseek", "deepseek/deepseek-chat"),
("o1_mini", "o1-mini"),
("o1_preview", "o1-preview"),