mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
OAI Path Support
This commit is contained in:
@ -981,6 +981,11 @@ if(vars.model == "OAI"):
|
|||||||
finally:
|
finally:
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
|
if vars.custmodpth:
|
||||||
|
vars.oaiurl = vars.oaiengines + "/" + vars.custmodpth + "/completions"
|
||||||
|
args.configname = args.configname + "/" + vars.custmodpth
|
||||||
|
engselected = True
|
||||||
|
else:
|
||||||
# Get list of models from OAI
|
# Get list of models from OAI
|
||||||
print("{0}Retrieving engine list...{1}".format(colors.PURPLE, colors.END), end="")
|
print("{0}Retrieving engine list...{1}".format(colors.PURPLE, colors.END), end="")
|
||||||
req = requests.get(
|
req = requests.get(
|
||||||
|
Reference in New Issue
Block a user