zed/crates/ollama
Peter Tripp 9677a7d8ac
Add ollama phi4 context size defaults (#23036)
Add `phi4` maximum context length (128K).
By default this clamps to `16384` but if you have enough video memory
you can set it higher or connect to a non-local machine via settings:

```json
"language_models": {
  "ollama": {
    "api_url": "http://localhost:11434",
    "available_models": [
      {
        "name": "phi4",
        "display_name": "Phi4 64K",
         "max_tokens": 65536
      }
    ]
  }
}
```

Release Notes:

- Improve support for Phi4 with ollama.
2025-01-15 11:15:51 -05:00
..
src Add ollama phi4 context size defaults (#23036) 2025-01-15 11:15:51 -05:00
Cargo.toml
LICENSE-GPL