Skip to content

Commit 89266ac

Browse files
committed
autoguess adapter make case insensitive
1 parent 487d509 commit 89266ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

koboldcpp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6735,6 +6735,8 @@ def kcpp_main_process(launch_args, g_memory=None, gui_launcher=False):
67356735
ccadapter_path = os.path.abspath(args.chatcompletionsadapter)
67366736
elif isinstance(args.chatcompletionsadapter, str) and adapt_dir:
67376737
filename = args.chatcompletionsadapter
6738+
if filename.lower().strip()=="autoguess":
6739+
filename = "AutoGuess"
67386740
if not filename.endswith(".json"):
67396741
filename += ".json"
67406742
#strip to just the filename

0 commit comments

Comments
 (0)