OAI Path Support
This commit is contained in:
parent
699b3fc10b
commit
b568e31381
|
@ -981,6 +981,11 @@ if(vars.model == "OAI"):
|
|||
finally:
|
||||
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
|
||||
print("{0}Retrieving engine list...{1}".format(colors.PURPLE, colors.END), end="")
|
||||
req = requests.get(
|
||||
|
|
Loading…
Reference in New Issue