MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / TestableAPI

Class TestableAPI

tests/models/test_base_api.py:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25 # Create a concrete subclass that implements generate_inner
26 class TestableAPI(BaseAPI):
27 def generate_inner(self, inputs, **kwargs):
28 return 0, "test response", None
29
30 self._api = TestableAPI(**kwargs)
31

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68