mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
fix broken template, updated lite
This commit is contained in:
parent
01d5175654
commit
b7fc8e644a
2 changed files with 16 additions and 2 deletions
|
@ -3690,6 +3690,12 @@ def main(launch_args,start_server=True):
|
|||
canload = True
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
elif isinstance(args.chatcompletionsadapter, dict):
|
||||
try:
|
||||
chatcompl_adapter = json.loads(json.dumps(args.chatcompletionsadapter))
|
||||
canload = True
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
if canload:
|
||||
print(f"Chat Completions Adapter Loaded")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue