Merge pull request #224 from db0/get_cluster_models_fix

fix endpoint for get_cluster_models
This commit is contained in:
henk717 2022-09-30 00:30:18 +02:00 committed by GitHub
commit 276c6f8e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
logger.init("KAI Horde Models", status="Retrieving")
try:
req = requests.get("{}/models".format(url))
req = requests.get("{}/api/v1/models".format(url))
except requests.exceptions.ConnectionError:
logger.init_err("KAI Horde Models", status="Failed")
logger.error("Provided KoboldAI Horde URL unreachable")