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

Method _remove_cur_arg

llms/api_key_pool.py:199–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

197 raise NotImplementedError
198
199 def _remove_cur_arg(self) -> None:
200 logger.info(f"removing api key {self.queue[self._index]}")
201 _ = self.client_args.pop(self._index)
202 if len(self) == 0:
203 raise APIKeyPoolEmptyError("api key pool is empty")
204
205
206class PQPool(Pool):

Callers 2

__exit__Method · 0.80
__exit__Method · 0.80

Calls 1

Tested by

no test coverage detected