MCPcopy
hub / github.com/algorithmicsuperintelligence/optillm / __init__

Method __init__

optillm/plugins/longcepo/utils.py:16–18  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

14 __allowed_keys__ = {"total_tokens", "completion_tokens", "llm_calls"}
15
16 def __init__(self, *args, **kwargs):
17 super().__init__()
18 self.update(*args, **kwargs)
19
20 def __setitem__(self, key, value):
21 if key not in self.__allowed_keys__:

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected