Update lollms_client_js.js

This commit is contained in:
Saifeddine ALOUI 2025-01-17 09:55:46 +01:00 committed by GitHub
parent b75d26861e
commit 75887e7a93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ class LollmsClient {
if ('seed' in settings) this.seed = settings.seed; if ('seed' in settings) this.seed = settings.seed;
if ('n_threads' in settings) this.n_threads = settings.n_threads; if ('n_threads' in settings) this.n_threads = settings.n_threads;
if ('service_key' in settings) this.service_key = settings.service_key; if ('service_key' in settings) this.service_key = settings.service_key;
if ('default_generation_mode' in settings) this.default_generation_mode = settings.default_generation_mode; if ('default_generation_mode' in settings) this.default_generation_mode = convertToGenerationFormat(settings.default_generation_mode);
// You might want to add some validation or type checking here // You might want to add some validation or type checking here