From 780e9d31727c35bcb89fc6953766cec9ae40d427 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Wed, 12 Nov 2025 17:25:08 -0300 Subject: [PATCH] feat(llm): standardize config key naming to use hyphens Changed the config key 'llm-server-n_ctx_size' to 'llm-server-n-ctx-size' in local.rs to maintain consistent hyphen-separated naming convention across configuration parameters. This improves code readability and aligns with existing naming patterns. --- src/llm/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llm/local.rs b/src/llm/local.rs index 4c13d78d2..cffdad7e0 100644 --- a/src/llm/local.rs +++ b/src/llm/local.rs @@ -230,7 +230,7 @@ pub async fn start_llm_server( .unwrap_or("50".to_string()); let n_ctx_size = config_manager - .get_config(&default_bot_id, "llm-server-n_ctx_size", None) + .get_config(&default_bot_id, "llm-server-n-ctx-size", None) .unwrap_or("4096".to_string());