KoboldAI API model name fix

This commit is contained in:
ebolam
2023-05-26 11:42:29 -04:00
parent 52f5d87906
commit 0376ab5715

View File

@@ -28,6 +28,7 @@ class model_backend(InferenceModel):
def __init__(self) -> None:
super().__init__()
self.base_url = ""
self.model_name = "KoboldAI API"
def is_valid(self, model_name, model_path, menu_path):
return model_name == "API"