mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-04 02:01:48 +03:00
refactor(providers): define typed usage contract
This commit is contained in:
@@ -18,7 +18,7 @@ from nanobot.utils.llm_runtime import LLMRuntime
|
||||
|
||||
class RecordingProvider(LLMProvider):
|
||||
def __init__(self, name: str) -> None:
|
||||
super().__init__()
|
||||
super().__init__(provider_name=name)
|
||||
self.name = name
|
||||
self.generation = GenerationSettings(max_tokens=256, temperature=0.1)
|
||||
self.calls: list[str | None] = []
|
||||
|
||||
Reference in New Issue
Block a user