# Accept numeric keep alive in Ollama settings \(\#13046\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d9c21b4eb1b60ef0122c15cab3e82043c13e030a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d9c21b4eb1b60ef0122c15cab3e82043c13e030a

Requested commit: d9c21b4eb1b60ef0122c15cab3e82043c13e030a

Commit: d9c21b4eb1b60ef0122c15cab3e82043c13e030a

Tree: 571d8229c65bd9eceb669f80f87c24e2575a5953

Author: Kyle Kelley

Committer: GitHub

## Message

```
Accept numeric keep alive in Ollama settings (#13046)

This adds the ability to set the keep alive as an integer, including
`-1` for staying alive indefinitely until a new model is loaded or
Ollama exits. I've also set the default to `-1` so that models stay
ready to go for Zed to use.

Release Notes:

- N/A
```

## Parents

- [44f66aa426b6f641539ab24ffca948f2f2228a8f](https://git.cafe/gitcafe/zed/commit/44f66aa426b6f641539ab24ffca948f2f2228a8f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d9c21b4eb1b60ef0122c15cab3e82043c13e030a?format=markdown)
