Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4c7579e
mikupad.html in ik_llama.cpp (functional but WIP)
saood06 Jun 26, 2025
8fd4774
Remove hardcoded extension and add error handling to extension loading
saood06 Jun 27, 2025
66c8dc4
Update version number and add features array to version
saood06 Jun 28, 2025
3a634c7
Make version endpoint always accessible
saood06 Jun 28, 2025
ddc7ec4
Fix case with empty sql
saood06 Jun 30, 2025
a1cef1d
Add useful error message when launched without sql file
saood06 Jul 5, 2025
64550a3
Add sigma sampler
saood06 Jul 5, 2025
dc8f072
Update sigma step and max based on docs
saood06 Jul 5, 2025
5763029
Remove selectedSessionId and handle it with URL fragment
saood06 Jul 7, 2025
61f74b2
Export All (code only, no UI)
saood06 Jul 8, 2025
276c045
Add compression to server.cpp
saood06 Jul 13, 2025
be74226
Major UI work (and also add update backend endpoints to accomadate)
saood06 Aug 11, 2025
4a5695e
Finalize UI
saood06 Aug 11, 2025
2767ae6
Fix visual bug
saood06 Aug 15, 2025
5eaa068
Merge branch 'main' into s6/mikupad
saood06 Aug 15, 2025
63eb72e
Merge remote-tracking branch 'origin/main' into s6/mikupad
saood06 Aug 16, 2025
b21baa0
fix merge conflict issue
saood06 Aug 16, 2025
d0d3014
Merge remote-tracking branch 'origin/main' into s6/mikupad
saood06 Aug 17, 2025
a3b174b
Merge remote-tracking branch 'origin/main' into s6/mikupad
saood06 Aug 17, 2025
ed9504b
Pull in full sqlite_modern_cpp repo for the license as it is not atta…
saood06 Aug 17, 2025
2f6c613
Make compression not show in sidebar if extension is not loaded
saood06 Aug 19, 2025
d104230
Finalize build, Put support behing LLAMA_SERVER_SQLITE3: command not …
saood06 Aug 24, 2025
fcfefca
Merge branch 'main' into s6/mikupad
saood06 Aug 24, 2025
c213189
Fix compile without flag on systems without it installed
saood06 Aug 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions common/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
2 changes: 2 additions & 0 deletions common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
10 changes: 9 additions & 1 deletion examples/server/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
set(TARGET llama-server)
option(LLAMA_SERVER_VERBOSE "Build verbose logging option for Server" ON)
option(LLAMA_SERVER_SSL "Build SSL support for the server" OFF)
option(LLAMA_SERVER_SQLITE3 "Build SQlite3 support for the server" OFF)

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

Expand Down Expand Up @@ -44,7 +45,7 @@ if (MSVC)
)
endif()
# target_link_libraries(${TARGET} PRIVATE "/STACK:104857600")
target_include_directories(${TARGET} PRIVATE ${CMAKE_SOURCE_DIR})
target_include_directories(${TARGET} PRIVATE ${CMAKE_SOURCE_DIR})
target_link_libraries(${TARGET} PRIVATE common ${CMAKE_THREAD_LIBS_INIT})

if (LLAMA_SERVER_SSL)
Expand All @@ -53,6 +54,13 @@ if (LLAMA_SERVER_SSL)
target_compile_definitions(${TARGET} PRIVATE CPPHTTPLIB_OPENSSL_SUPPORT)
endif()

if (LLAMA_SERVER_SQLITE3)
find_package(SQLite3 REQUIRED)
target_link_libraries(${TARGET} PRIVATE SQLite::SQLite3)
target_include_directories(${TARGET} PUBLIC ./sqlite_modern_cpp/hdr)
target_compile_definitions(${TARGET} PRIVATE SQLITE3_MODERN_CPP_SUPPORT)
endif()

if (WIN32)
TARGET_LINK_LIBRARIES(${TARGET} PRIVATE ws2_32)
endif()
Expand Down
Loading