8000 feat: Model override and server side saves by esolithe · Pull Request #1373 · LostRuins/koboldcpp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Model override and server side saves #1373

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

Open
wants to merge 256 commits into
base: concedo_experimental
Choose a base branch
from

Conversation

esolithe
Copy link
@esolithe esolithe commented Feb 13, 2025

What's included

  • Model reloading (acts as an override for the selected config during reload)
  • Endpoints / UI changes to show current config and model, along with a delayed reload based on when the server is up again
  • Save / load various files from the server (current save in compressed format, uploading character card PNGs, WEBPs, KAI story files, and lorebooks)
  • Custom scenarios based on the server side saves
  • Client side save encryption (for enhanced security on servers you don't control)
  • Ability for the administrator to set saves to public if desired (viewable by anyone who can access the server - people without the admin password cannot upload, modify, delete etc)

Note

This is in draft while I add documentation to methods, but functionality has been dev tested - latest server side stuff is with Kobold folks to give it a try.

Tried to restructure it in a similar way to the other config stuff which has been added - reuse of the launcher page, popup etc to minimise the structural differences so hopefully is a pretty smooth UX!

I have included the kobold lite changes in this PR to allow for direct testing - they are structures closer to a usermod at the moment to allow for easier portability between lite versions (wasn't sure if this would be integrated at all so wrote it like that). The lite changes also require forge.js which I embedded - allowing the client side save encryption.

These will probably need to be introduced as a separate PR, mostly this PR is after implementing the API changes so backend support is present 👍

Usage

Can be set through the launcher, but if you prefer the arguments:

  • Turn on remote management: --admin
  • Set the management password: --adminpassword "..."
  • Set the reloadable configs directory --admindir "..."
  • Set the reloadable models directory (overriding the config model): --admintextmodelsdir "..."
  • Sets the data storage directory (where the database storing server side saves are stored): --admindatadir "..."

Binaries for testing (releases also include some screenshots)

https://github.com/esolithe/koboldcpp/releases/

prima and others added 30 commits February 2, 2025 00:04
…et it as the default in the example control page)
…ndependant of all the changes your config might bring
…ample of timing the reload with a new "live" endpoint
fix: Updating custom model support to fix issues when argument is not…
prima added 8 commits May 3, 2025 16:29
…n lite to import into TextDB as a document (only basic text files for now)
…e by sevenof9, adapted for KCPP by Esolithe)
…ontext used) by not including the agent JSONs themselves. Ensured that an agent must take an action on the first turn, rather than just stopping thinking right away. Added the option to prevent agent commands being used.
@LostRuins LostRuins force-pushed the concedo_experimental branch 2 times, most recently from b9b6952 to 13cee48 Compare May 6, 2025 10:56
prima and others added 20 commits May 6, 2025 21:28
…ent in text DB button. Fixed issue with slides not opening with correct value on text DB page. Increased max number of search results to 10.
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

Successfully merging this pull request may close these issues.

4 participants
0