Skip to content

安装 ​

安装 Zed。

在 Ollama 中使用 ​

  1. 在 Zed 中,点击右下角的 星形图标,然后选择 Configure。
Zed star icon in bottom right corner
  1. 在 LLM Providers 下,选择 Ollama
  2. 确认 Host URL 为 http://localhost:11434,然后点击 Connect
  3. 连接成功后,在 Ollama 下选择一个模型
Zed star icon in bottom right corner

连接到 ollama.com ​

  1. 在 ollama.com 上创建一个 API key
  2. 在 Zed 中,打开 星形图标 → Configure
  3. 在 LLM Providers 下,选择 Ollama
  4. 将 API URL 设置为 https://ollama.com