跳过至正文

安装

安装 Zed

在 Ollama 中使用

  1. 在 Zed 中,点击右下角的星形图标,然后选择 Configure(配置)
Zed star icon in bottom right corner
  1. LLM Providers(LLM 提供商)下,选择 Ollama
  2. 确认 Host URL(主机 URL)https://:11434,然后点击 Connect(连接)
  3. 连接后,在 Ollama 下选择一个模型
Zed star icon in bottom right corner

连接到 ollama.com

  1. ollama.com 上创建一个 API 密钥
  2. 在 Zed 中,打开星形图标Configure(配置)
  3. LLM Providers(LLM 提供商)下,选择 Ollama
  4. API URL 设置为 https://ollama.ac.cn