text-generation-inference/integration-tests/models/test_chat_stream_options.py
Nicolas Patry 9aa71d61fb
Clippy.
2025-03-07 19:48:04 +01:00

16 lines
315 B
Python

import pytest
@pytest.fixture(scope="module")
def chat_handle(launcher):
with launcher(
"meta-llama/Meta-Llama-3.1-8B-Instruct",
) as handle:
yield handle
@pytest.fixture(scope="module")
async def chat_client(chat_handle):
await chat_handle.health(300)
return chat_handle.client