mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
KoboldAI API model name fix
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user