Skip to content

Instantly share code, notes, and snippets.

View cshen's full-sized avatar
💭
I may be slow to respond.

C Shen cshen

💭
I may be slow to respond.
View GitHub Profile
@cshen
cshen / iTerm2-Ollama-Integration.md
Created October 21, 2024 06:41 — forked from soham2008xyz/iTerm2-Ollama-Integration.md
iTerm2 Ollama Integration

iTerm2 Ollama Integration

A guide on using Ollama as the OpenAI API provider for inline completions in iTerm2.

Configuration

  • API URL: http://127.0.0.1:11434/v1/completions
  • Model: mistral
  • Tokens: 4000
  • Use legacy completions API: true