mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2025-09-06 03:20:45 +00:00
♻️ fix lint problems
This commit is contained in:
parent
f89e41754c
commit
da5621abbe
2 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ async def process_messages(group_id: int):
|
|||
preset = get_preset(group_id)
|
||||
|
||||
# 初始化OpenAI客户端
|
||||
if preset.proxy:
|
||||
if preset.proxy != "":
|
||||
client = AsyncOpenAI(
|
||||
base_url=preset.api_base,
|
||||
api_key=preset.api_key,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue