> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise-docs.dify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 模型供应商

## 在 Helm Chart Values 中查找模型供应商配置

### 显示 Helm Chart Values

```bash theme={null}
helm show values dify/dify
```

以下是 Helm chart values 中关于模型供应商配置的示例代码：

```yaml theme={null}
api:
  positionProvider:
    pins: ""
    includes: ""
    excludes: ""
  ... ...
```

## 配置模型供应商

模型供应商支持以下配置选项，模型供应商名称由 `api/core/model_runtime/model_providers` 目录中的文件夹名称所定义。

* `pins`
  * 如果不为空，它会将指定的模型供应商固定在列表顶部。
* `includes`
  * 如果为空，它将显示所有模型供应商。
  * 如果不为空，它将仅显示指定的模型供应商。
* `excludes`
  * 如果不为空，它将排除指定的模型供应商。

以下示例将 `ollama` 模型供应商显示在列表顶部，并且仅显示 `sagemaker` 和 `ollama`。

```yaml theme={null}
api:
  positionProvider:
    pins: "ollama"
    includes: "openai,sagemaker,ollama"
    excludes: "openai"
```

> 更多信息，请参考 [模型供应商代码](https://github.com/langgenius/dify/tree/main/api/core/model_runtime/model_providers)。
