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

add an option to set the keep_alive parameter for Ollama #714

Open
sammyf opened this issue Sep 27, 2024 · 0 comments
Open

add an option to set the keep_alive parameter for Ollama #714

sammyf opened this issue Sep 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sammyf
Copy link

sammyf commented Sep 27, 2024

Describe the need of your request

ollama has an option keep_alive which determines after how much time of inactivity a model is unloaded (-1 means never unload, 0 means unload now, everything about 0 is the amount of minutes.). It would be nice to be able to set that in the codeGPT options, as reloading the models takes a lot of time.

Proposed solution

add an text box in the ollama specific options to set the keep_alive value, and send it to the server in the API calls.

Additional context

No response

@sammyf sammyf added the enhancement New feature or request label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant