From f89e41754c21b140fba4e7a3742f2d6fb1936c7d Mon Sep 17 00:00:00 2001 From: FuQuan233 Date: Fri, 28 Feb 2025 18:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20fix=20lint=20problems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_llmchat/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):