Reset code state to origin

This commit is contained in:
zhangkun9038@dingtalk.com 2025-02-09 21:06:13 +08:00
parent a715664408
commit 3d639b9eaf
3 changed files with 0 additions and 10 deletions

View File

@ -1,9 +1,3 @@
forked
## 变更:
支持config里加入 bce_appid字段, 用于支持百度云千帆大模型服务, 它需要提供一个appid, 除了已有的api_key以外
---------
<div align="center">
<img alt="logo" width="120" src="https://github.com/user-attachments/assets/2e2f2a58-2b28-4d11-afd1-87b65612b2de" />
<h1>avante.nvim</h1>

View File

@ -424,7 +424,6 @@ M.BASE_PROVIDER_KEYS = {
"proxy",
"allow_insecure",
"api_key_name",
"bce_appid",
"timeout",
-- internal
"local",

View File

@ -282,9 +282,6 @@ M.parse_curl_args = function(provider, prompt_opts)
["Content-Type"] = "application/json",
}
-- Add appid header if configured
if base.bce_appid then headers["appid"] = base.bce_appid end
if P.env.require_api_key(base) then
local api_key = provider.parse_api_key()
if api_key == nil then