Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ollama keep_alive parameter in plugin settings #423

Open
dorianbrown opened this issue Apr 20, 2024 · 0 comments
Open

Support ollama keep_alive parameter in plugin settings #423

dorianbrown opened this issue Apr 20, 2024 · 0 comments

Comments

@dorianbrown
Copy link

Is your feature request related to a problem? Please describe.

Currently by default ollama keeps the model in memory until 5 minutes has passed. This consumes RAM/VRAM, and can impact the performance of other programs being run after using obsidian-copilot. It would be nice if we could configure the timeout to be something shorter (or longer if wanted).

Describe the solution you'd like

Provide a keep_alive option in the ollama configuration section of the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant