mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
chore(ai_chat): 删除冗余代码
This commit is contained in:
parent
81e12d7cd7
commit
8bde69014d
1 changed files with 1 additions and 2 deletions
|
|
@ -3,7 +3,6 @@ import requests
|
|||
from src.clover_sqlite.models.chat import GroupChatRole
|
||||
from src.configs.api_config import v3url, v3key, deepseek_url, deepseek_key
|
||||
import aiohttp
|
||||
import asyncio
|
||||
|
||||
openai.api_key = deepseek_key
|
||||
openai.base_url = deepseek_url
|
||||
|
|
@ -61,7 +60,7 @@ async def silicon_flow(group_openid, content):
|
|||
"messages": messages
|
||||
}
|
||||
headers = {
|
||||
"Authorization": "Bearer sk-lcsbvcogybhzznggjsucscrcmveeuuksecxvdkhtrlmzjmqs",
|
||||
"Authorization": f"Bearer {deepseek_key}",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue