mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-01-26 17:20:01 +00:00
Add mikupad to ik_llama as an alternative WebUI (#558)
* mikupad.html in ik_llama.cpp (functional but WIP) * Remove hardcoded extension and add error handling to extension loading * Update version number and add features array to version * Make version endpoint always accessible * Fix case with empty sql * Add useful error message when launched without sql file * Add sigma sampler * Update sigma step and max based on docs * Remove selectedSessionId and handle it with URL fragment * Export All (code only, no UI) * Add compression to server.cpp * Major UI work (and also add update backend endpoints to accomadate) * Finalize UI * Fix visual bug * fix merge conflict issue * Pull in full sqlite_modern_cpp repo for the license as it is not attached to source files * Make compression not show in sidebar if extension is not loaded * Finalize build, Put support behing LLAMA_SERVER_SQLITE3: command not found build option, and update error message to include the build option is not passed situation * Fix compile without flag on systems without it installed
This commit is contained in:
@@ -1478,6 +1478,16 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (arg == "--sql-save-file") {
|
||||
CHECK_ARG
|
||||
params.sql_save_file = argv[i];
|
||||
return true;
|
||||
}
|
||||
if (arg == "--sqlite-zstd-ext-file") {
|
||||
CHECK_ARG
|
||||
params.sqlite_zstd_ext_file = argv[i];
|
||||
return true;
|
||||
}
|
||||
if (arg == "--chat-template") {
|
||||
CHECK_ARG
|
||||
if (!llama_chat_verify_template(nullptr, argv[i], false)) {
|
||||
|
||||
@@ -250,6 +250,8 @@ struct gpt_params {
|
||||
bool log_json = false;
|
||||
|
||||
std::string slot_save_path;
|
||||
std::string sql_save_file;
|
||||
std::string sqlite_zstd_ext_file;
|
||||
|
||||
float slot_prompt_similarity = 0.5f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user