MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / get_test_client

Function get_test_client

tests/test_utils.py:40–42  ·  view source on GitHub ↗

Get OpenAI client configured for local optillm

(base_url: str = DEFAULT_BASE_URL)

Source from the content-addressed store, hash-verified

38 return TEST_MODEL
39
40def get_test_client(base_url: str = DEFAULT_BASE_URL) -> OpenAI:
41 """Get OpenAI client configured for local optillm"""
42 return OpenAI(api_key="optillm", base_url=base_url)
43
44def start_test_server(model: str = TEST_MODEL, port: Optional[int] = None) -> Tuple[subprocess.Popen, int]:
45 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected