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

Method client

tokasaurus/benchmarks/utils.py:39–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 self.stop_strings = []
38
39 def client(self):
40 return OpenAI(
41 base_url=f"http://localhost:{self.port}/v1",
42 api_key=self.api_key,
43 max_retries=0,
44 timeout=None,
45 )
46
47
48def kill_process_tree(pid):

Callers 4

run_inferenceFunction · 0.45
run_inferenceFunction · 0.45
run_inferenceFunction · 0.45
run_inferenceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected