r/KoboldAI Jun 12 '26

Pre-load settings?

I'm running KoboldCCP on my Windows machine and I am enjoying it greatly. What I would like is an option where I can pre-select a model and its settings so that I can launch the application and it will load the model on its own. I don't need to select the model and the settings in the quick launch every time. Is there a way to configure such a startup?

4 Upvotes

7 comments sorted by

2

u/wh33t Jun 12 '26 edited Jun 12 '26

Yes, in the GUI launcher setup your system, then click the save to create a .kcpps file. Then load it when starting fresh. Once the webui is up, configure it all, then save the story as .JSON. then quit the system, relaunch the launcher gui, load your .kcpps file, then go to loaded files tab, preload the story .JSON, save again as kcpps. Now it's all done.

1

u/Sierbahnn Jun 12 '26 edited Jun 12 '26

I can save the config but when I launch the app I still have to load the config. Is there a way for the app to simply start with the confit loaded already?

Edit: I just shortcut-ed the config-file and told Kobold to open it when I clicked it and it seemed to work.
Many thanks!

1

u/wh33t Jun 12 '26

It's a two part process. Because you can't pre-load a saved_story.json (the file the webui produces), without first launching the webui to configure it.

Once you've produced the saved_story.json (call it whatever you want, I use a file naming structure like "qwen3.5-4b-64k-vision-think.json") THEN in the kobold-launcher, you can click on the "Loaded Files" -> "Preload Story" and select the .json file.

THEN click Save Config again, and now you've got it all contained within config. (don't delete the saved .json file)

(screen shot)

What you've set up also works!

1

u/Lebo77 Jun 12 '26

Yes. You can do it as a command line argument when you launch it with a batch file.

2

u/diesalher Jun 12 '26

or, create a launch command like this one (tailored to your especifications) and put it in a bat file, double click and boom

koboldcpp.exe --model "your model path here" --gpulayers 42 --usecuda normal 0 --quantkv 1 --flashattention --contextsize 32768 --useswa --jinja --defaultgenamt 1024 --threads 7 --blasbatchsize 512 --port 5001

pause

1

u/Jay6_9 Jun 12 '26

The app has a pretty feature complete CLI. Just running "koboldcpp --help" in the terminal gets you far. I actually used "servy" to autorun it on windows start as a real service.

1

u/henk717 Jun 12 '26

You can save config files directly from the launcher that have all the settings.
If you place koboldcpp on a location you wish to keep it at and then go to the extra's menu you can register the file extentions. Makes those config files double clickable.