chores: remove aihubmix (#2430)

This commit is contained in:
yetone
2025-07-10 11:24:01 +08:00
committed by GitHub
parent 286b5ba7ae
commit 1748b9120a
2 changed files with 0 additions and 38 deletions

View File

@@ -945,25 +945,6 @@ providers = {
}
```
## AiHubMix
[AiHubMix](https://s.kiiro.ai/r/PPELHy) is a built-in provider for avante.nvim. You can register an account on the [AiHubMix official website](https://s.kiiro.ai/r/PPELHy), then create an API Key within the website, and set this API Key in your environment variables:
```bash
export AIHUBMIX_API_KEY=your_api_key
```
Then in your configuration, set `provider = "aihubmix"`, and set the `model` field to the model name you want to use, for example:
```lua
provider = "aihubmix",
providers = {
aihubmix = {
model = "gpt-4o-2024-11-20",
},
}
```
## Custom providers
Avante provides a set of default providers, but users can also create their own providers.

View File

@@ -727,25 +727,6 @@ providers = {
}
```
## AiHubMix
[AiHubMix](https://s.kiiro.ai/r/PPELHy) 是 avante.nvim 的内置提供者。您可以在 [AiHubMix 官方网站](https://s.kiiro.ai/r/PPELHy) 上注册一个帐户,然后在网站内创建一个 API 密钥,并在环境变量中设置此 API 密钥:
```bash
export AIHUBMIX_API_KEY=your_api_key
```
然后在您的配置中设置 `provider = "aihubmix"`,并将 `model` 字段设置为您想要使用的模型名称,例如:
```lua
provider = "aihubmix",
providers = {
aihubmix = {
model = "gpt-4o-2024-11-20",
},
}
```
## 自定义提供者
Avante 提供了一组默认提供者,但用户也可以创建自己的提供者。