fix endpoint for get_cluster_models
This commit is contained in:
parent
3a094a049b
commit
90022d05c8
|
@ -1640,7 +1640,7 @@ def get_cluster_models(msg):
|
||||||
# Get list of models from public cluster
|
# Get list of models from public cluster
|
||||||
logger.init("KAI Horde Models", status="Retrieving")
|
logger.init("KAI Horde Models", status="Retrieving")
|
||||||
try:
|
try:
|
||||||
req = requests.get("{}/models".format(url))
|
req = requests.get("{}/api/v1/models".format(url))
|
||||||
except requests.exceptions.ConnectionError:
|
except requests.exceptions.ConnectionError:
|
||||||
logger.init_err("KAI Horde Models", status="Failed")
|
logger.init_err("KAI Horde Models", status="Failed")
|
||||||
logger.error("Provided KoboldAI Horde URL unreachable")
|
logger.error("Provided KoboldAI Horde URL unreachable")
|
||||||
|
|
Loading…
Reference in New Issue