refactor(providers): define typed usage contract

This commit is contained in:
chengyongru
2026-08-25 01:04:25 +08:00
committed by chengyongru
parent 89c94d8744
commit 9895c23cb5
84 changed files with 1643 additions and 726 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ from nanobot.providers.base import (
class ScriptedProvider(LLMProvider):
def __init__(self, responses):
super().__init__()
super().__init__(provider_name="scripted")
self._responses = list(responses)
self.calls = 0
self.last_kwargs: dict = {}