mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-31 08:13:11 +03:00
refactor(providers): define typed usage contract
This commit is contained in:
@@ -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