mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
GooseAI Fixes
This commit is contained in:
@@ -33,7 +33,7 @@ class model_backend(InferenceModel):
|
||||
def is_valid(self, model_name, model_path, menu_path):
|
||||
return model_name == "Colab"
|
||||
|
||||
def get_requested_parameters(self, model_name, model_path, menu_path):
|
||||
def get_requested_parameters(self, model_name, model_path, menu_path, parameters = {}):
|
||||
if os.path.exists("settings/api.model_backend.settings") and 'colaburl' not in vars(self):
|
||||
with open("settings/api.model_backend.settings", "r") as f:
|
||||
self.colaburl = json.load(f)['base_url']
|
||||
|
Reference in New Issue
Block a user