mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-05 10:41:58 +03:00
refactor(providers): define typed usage contract
This commit is contained in:
@@ -11,7 +11,7 @@ class UnconfiguredProvider(LLMProvider):
|
||||
"""Keep the gateway available for settings before a model is configured."""
|
||||
|
||||
def __init__(self, default_model: str) -> None:
|
||||
super().__init__()
|
||||
super().__init__(provider_name="unconfigured")
|
||||
self._default_model = default_model
|
||||
|
||||
async def chat(
|
||||
|
||||
Reference in New Issue
Block a user