chore: remove unused dead code

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-07-07 15:41:27 +08:00
1 parent 29e99d3742
commit 3f33ff3143
12 files changed
+7 -154

No files matched your search

-9
View File
@@ -2,7 +2,6 @@
from __future__ import annotations
from collections.abc import Callable
from dataclasses import dataclass
from nanobot.providers.base import LLMProvider
@@ -12,11 +11,3 @@ from nanobot.providers.base import LLMProvider
class LLMRuntime:
provider: LLMProvider
model: str
LLMRuntimeResolver = Callable[[], LLMRuntime]
def static_llm_runtime(provider: LLMProvider, model: str) -> LLMRuntimeResolver:
runtime = LLMRuntime(provider=provider, model=model)
return lambda: runtime