Commit graph

2 commits

Author SHA1 Message Date
SlyAimer
222e6f788e feat(ai_chat): 更新 API 密钥和调用方式
- 在全局范围内添加 silicon_flow_key 配置
- 在调用 chat.completions.create 方法前设置 openai.api_key 和 openai.base_url- 更新请求 headers 中的 Authorization 字段,使用 silicon_flow_key
2025-03-08 16:01:25 +08:00
46532baf4a rebase master 2025-02-20 17:33:58 +08:00