refactor: enforce BasedPyright strict type checking (#5158)

This commit is contained in:
chengyongru authored and GitHub committed 2026-07-29 21:37:11 +08:00
1 parent e703481755
commit 757ad9c764
166 files changed
+4728 -2621

No files matched your search

+2
View File
@@ -160,6 +160,8 @@ def _make_provider_core(
elif backend == "azure_openai":
from nanobot.providers.azure_openai_provider import AzureOpenAIProvider
if p is None or p.api_base is None:
raise RuntimeError("validated Azure provider setup is missing api_base")
provider = AzureOpenAIProvider(
api_key=p.api_key or "",
api_base=p.api_base,