Skip to content

安装 ​

在您的 IDE 中安装 Cline。

与 Ollama 配合使用 ​

  1. 打开 Cline 设置 > API Configuration 并将 API Provider 设置为 Ollama
  2. 在 Model 下选择一个模型或输入一个(例如 qwen3)
  3. 在 Context Window 下将上下文窗口更新为至少 32K tokens

注意

编程工具需要更大的上下文窗口。建议使用至少 32K tokens 的上下文窗口。有关更多信息,请参阅 Context length。

显示 API Provider 设置为 Ollama 的 Cline 设置配置

连接到 ollama.com ​

  1. 从 ollama.com 创建 API key
  2. 点击 Use custom base URL 并将其设置为 https://ollama.com
  3. 输入您的 Ollama API Key
  4. 从列表中选择一个模型

推荐模型 ​

  • qwen3-coder:480b
  • deepseek-v3.1:671b