Updated `ConfigManager::get_config` to use Diesel query builder instead of raw SQL for improved safety and maintainability. Adjusted parameter naming and integrated schema references. Also refactored `ensure_llama_servers_running` to fetch configuration from the database using `AppState` and `ConfigManager`. Removed unused imports in bootstrap module.
36 lines
779 B
CSV
36 lines
779 B
CSV
name,value
|
|
|
|
server_host,0.0.0.0
|
|
server_port,8080
|
|
sites_root,/tmp
|
|
|
|
llm-key,none
|
|
llm-url,http://localhost:8081
|
|
llm-model,../../../../data/llm/DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf
|
|
|
|
embedding-url,http://localhost:8082
|
|
embedding-model,../../../../data/llm/bge-small-en-v1.5-f32.gguf
|
|
|
|
llm-server,false
|
|
llm-server-path,botserver-stack/bin/llm/build/bin
|
|
llm-server-host,0.0.0.0
|
|
llm-server-port,8081
|
|
llm-server-gpu-layers,35
|
|
llm-server-n-moe,16
|
|
llm-server-ctx-size,16000
|
|
llm-server-parallel,8
|
|
llm-server-cont-batching,true
|
|
llm-server-mlock,true
|
|
llm-server-no-mmap,true
|
|
|
|
email-from,from@domain.com
|
|
email-server,mail.domain.com
|
|
email-port,587
|
|
email-user,user@domain.com
|
|
email-pass,
|
|
|
|
custom-server,localhost
|
|
custom-port,5432
|
|
custom-database,mycustomdb
|
|
custom-username,
|
|
custom-password,
|