Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
add another unit test for new model
Abi Raja43214bbbf894
diff --git a/backend/test_llm.py b/backend/test_llm.pyindex ec005a30..aeb02aba 100644--- a/backend/test_llm.py+++ b/backend/test_llm.py@@ -24,6 +24,11 @@ class TestConvertFrontendStrToLlm(unittest.TestCase):Llm.GPT_4_TURBO_2024_04_09,"Should convert 'gpt-4-turbo-2024-04-09' to Llm.GPT_4_TURBO_2024_04_09",)+ self.assertEqual(+ convert_frontend_str_to_llm("gpt-4o-2024-05-13"),+ Llm.GPT_4O_2024_05_13,+ "Should convert 'gpt-4o-2024-05-13' to Llm.GPT_4O_2024_05_13",+ )def test_convert_invalid_string_raises_exception(self):with self.assertRaises(ValueError):