MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / __init__

Method __init__

llms/api_key_pool.py:241–244  ·  view source on GitHub ↗
(self, client_args: ClientArgs)

Source from the content-addressed store, hash-verified

239
240class RandomPool(Pool):
241 def __init__(self, client_args: ClientArgs) -> None:
242 super().__init__(client_args)
243 logger.info(f"initializing RandomPool with {len(client_args)} api keys")
244 logger.info(f"client args: {client_args}")
245
246 def __enter__(self, *args, **kwargs) -> ClientArgs:
247 """Get a client from the pool and return it as a context manager."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected