Get the currently active model.
(self)
| 341 | return self._active_provider or DEFAULT_PROVIDER |
| 342 | |
| 343 | def get_active_model(self) -> str: |
| 344 | """Get the currently active model.""" |
| 345 | if not self._active_model: |
| 346 | self._active_model = self.get_default_model(self.get_active_provider()) |
| 347 | return self._active_model |
| 348 | |
| 349 | def set_active_provider(self, provider: str): |
| 350 | """Set the active provider.""" |
no test coverage detected