fix endpoint for get_cluster_models

This commit is contained in:
Divided by Zer0 2022-09-30 00:26:55 +02:00
parent 3a094a049b
commit 90022d05c8
1 changed files with 1 additions and 1 deletions

View File

@ -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")