(request)
| 76 | |
| 77 | @pytest.fixture(scope="module", params=configs) |
| 78 | def client(request): |
| 79 | mp.set_start_method("spawn", force=True) |
| 80 | |
| 81 | config: ServerConfig = request.param |
| 82 | print(f"Launching server with config: {config.to_dict()}") |
| 83 | |
| 84 | with server_manager(config): |
| 85 | client = OpenAI( |
| 86 | api_key="beepboop", base_url=f"http://localhost:{config.port}/v1" |
| 87 | ) |
| 88 | |
| 89 | yield client |
| 90 | |
| 91 | |
| 92 | abc_prompt = "A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J" |
nothing calls this directly
no test coverage detected