fix: minor fixes

This commit is contained in:
Mohamed Marrouchi 2024-10-23 15:03:37 +01:00
parent 9479e40370
commit c9b7567fd5
2 changed files with 1 additions and 2 deletions

View File

@ -71,7 +71,7 @@ export default class OllamaLlmHelper
const response = await this.client.generate({
model,
prompt,
system: system,
system,
keep_alive: keepAlive,
options,
});

View File

@ -71,7 +71,6 @@ export class SettingRepository extends BaseRepository<Setting> {
typeof setting.value !== 'number' &&
setting.value !== null
) {
console.log(setting);
throw new Error('Setting Model : Value must be a number!');
}
}