mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-18 08:44:57 +02:00
autoguess adapter make case insensitive
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user