diff --git a/nonebot_plugin_llmchat/config.py b/nonebot_plugin_llmchat/config.py index bbb1f66..6b02ac2 100644 --- a/nonebot_plugin_llmchat/config.py +++ b/nonebot_plugin_llmchat/config.py @@ -10,7 +10,7 @@ class PresetConfig(BaseModel): model_name: str = Field(..., description="模型名称") max_tokens: int = Field(2048, description="最大响应token数") temperature: float = Field(0.7, description="生成温度(0-2]") - proxy: str = Field(None, description="HTTP代理服务器") + proxy = Field(None, description="HTTP代理服务器") class ScopedConfig(BaseModel):