refactor(providers): define typed usage contract
This commit is contained in:
1 parent
89c94d8744
commit
9895c23cb5
84 files changed
+1643
-726
No files matched your search
@@ -12,7 +12,7 @@ from nanobot.utils.evaluator import (
|
||||
|
||||
class DummyProvider(LLMProvider):
|
||||
def __init__(self, responses: list[LLMResponse]):
|
||||
super().__init__()
|
||||
super().__init__(provider_name="dummy")
|
||||
self._responses = list(responses)
|
||||
|
||||
async def chat(self, *args, **kwargs) -> LLMResponse:
|
||||
|
||||
Reference in new issue
Block a user