Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(schema): rename volcengine_plan and byteplus_plan to *_coding_plan for consistency
gaoyiman0d60acf2d5c5
diff --git a/nanobot/config/schema.py b/nanobot/config/schema.pyindex 718fd8b50..8fc75d535 100644--- a/nanobot/config/schema.py+++ b/nanobot/config/schema.py@@ -262,9 +262,9 @@ class ProvidersConfig(Base):aihubmix: ProviderConfig = Field(default_factory=ProviderConfig) # AiHubMix API gatewaysiliconflow: ProviderConfig = Field(default_factory=ProviderConfig) # SiliconFlow (硅基流动) API gatewayvolcengine: ProviderConfig = Field(default_factory=ProviderConfig) # VolcEngine (火山引擎) pay-per-use- volcengine_plan: ProviderConfig = Field(default_factory=ProviderConfig) # VolcEngine Coding Plan+ volcengine_coding_plan: ProviderConfig = Field(default_factory=ProviderConfig) # VolcEngine Coding Planbyteplus: ProviderConfig = Field(default_factory=ProviderConfig) # BytePlus (火山引擎海外版) pay-per-use- byteplus_plan: ProviderConfig = Field(default_factory=ProviderConfig) # BytePlus Coding Plan+ byteplus_coding_plan: ProviderConfig = Field(default_factory=ProviderConfig) # BytePlus Coding Planopenai_codex: ProviderConfig = Field(default_factory=ProviderConfig) # OpenAI Codex (OAuth)github_copilot: ProviderConfig = Field(default_factory=ProviderConfig) # Github Copilot (OAuth)diff --git a/nanobot/providers/registry.py b/nanobot/providers/registry.pyindex 2cd743eee..1c80506cd 100644--- a/nanobot/providers/registry.py+++ b/nanobot/providers/registry.py@@ -161,7 +161,7 @@ PROVIDERS: tuple[ProviderSpec, ...] = (# VolcEngine Coding Plan (火山引擎 Coding Plan): same key as volcengineProviderSpec(- name="volcengine_plan",+ name="volcengine_coding_plan",keywords=("volcengine-plan",),env_key="OPENAI_API_KEY",display_name="VolcEngine Coding Plan",@@ -197,7 +197,7 @@ PROVIDERS: tuple[ProviderSpec, ...] = (# BytePlus Coding Plan: same key as byteplusProviderSpec(- name="byteplus_plan",+ name="byteplus_coding_plan",keywords=("byteplus-plan",),env_key="OPENAI_API_KEY",display_name="BytePlus Coding Plan",