MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / client

Function client

tests/test_basic.py:78–89  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

76
77@pytest.fixture(scope="module", params=configs)
78def 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
92abc_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"

Callers

nothing calls this directly

Calls 1

server_managerFunction · 0.90

Tested by

no test coverage detected