Get OpenAI client configured for local optillm
(base_url: str = "http://localhost:8000/v1")
| 23 | return TEST_MODEL |
| 24 | |
| 25 | def get_test_client(base_url: str = "http://localhost:8000/v1") -> OpenAI: |
| 26 | """Get OpenAI client configured for local optillm""" |
| 27 | return OpenAI(api_key="optillm", base_url=base_url) |
| 28 | |
| 29 | def is_mlx_available(): |
| 30 | """Check if MLX is available (macOS only)""" |
no outgoing calls
no test coverage detected