(self)
| 188 | """Test that backend model_factory.py can support MiniMax via OpenAI protocol.""" |
| 189 | |
| 190 | def setUp(self): |
| 191 | factory_path = os.path.join( |
| 192 | PROJECT_ROOT, "backend", "apps", "ai_model", "model_factory.py" |
| 193 | ) |
| 194 | with open(factory_path, "r", encoding="utf-8") as f: |
| 195 | self.factory_content = f.read() |
| 196 | |
| 197 | def test_openai_type_in_factory(self): |
| 198 | """OpenAI type should be registered in LLMFactory._llm_types.""" |