From 89266ac6b822ce2863dc4560ea2ba2622903c9d2 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 10 Aug 2025 00:58:47 +0800 Subject: [PATCH] autoguess adapter make case insensitive --- koboldcpp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koboldcpp.py b/koboldcpp.py index 0fa896e65..2f7ae8141 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -6735,6 +6735,8 @@ def kcpp_main_process(launch_args, g_memory=None, gui_launcher=False): ccadapter_path = os.path.abspath(args.chatcompletionsadapter) elif isinstance(args.chatcompletionsadapter, str) and adapt_dir: filename = args.chatcompletionsadapter + if filename.lower().strip()=="autoguess": + filename = "AutoGuess" if not filename.endswith(".json"): filename += ".json" #strip to just the filename