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

keep_alive setting #3084

Closed
2 tasks
kanoai7 opened this issue Nov 26, 2024 · 2 comments
Closed
2 tasks

keep_alive setting #3084

kanoai7 opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
kind:question Indicates a question

Comments

@kanoai7
Copy link

kanoai7 commented Nov 26, 2024

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

i wonder where can i set keep_alive for ollama? seems already support

Solution

No response

@sestinj sestinj self-assigned this Nov 26, 2024
@dosubot dosubot bot added the kind:question Indicates a question label Nov 26, 2024
@tranquochuy645
Copy link
Contributor

tranquochuy645 commented Nov 26, 2024

Hi @kanoai7 ,

You can set this value by editing your config.json, the default value is 60*30 (30 minutes)

Take a look at their documentation: https://docs.continue.dev/reference#completionoptions

It's something like this:

{
"models":[
"title": "Ollama",
"provider": "ollama",
"model": "AUTODETECT"
"completionOptions":{
"keepAlive": 9999999,
}
]
}

@kanoai7
Copy link
Author

kanoai7 commented Nov 26, 2024

Hi @kanoai7 ,

You can set this value by editing your config.json, the default value is 60*30 (30 minutes)

Take a look at their documentation: https://docs.continue.dev/reference#completionoptions

It's something like this:

{ "models":[ "title": "Ollama", "provider": "ollama", "model": "AUTODETECT" "completionOptions":{ "keepAlive": 9999999, } ] }

sorry, i should check doc more careful.

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

No branches or pull requests

3 participants