mirror of
https://github.com/hexastack/hexabot
synced 2024-11-23 01:55:15 +00:00
fix: minor fixes
This commit is contained in:
parent
9479e40370
commit
c9b7567fd5
@ -71,7 +71,7 @@ export default class OllamaLlmHelper
|
||||
const response = await this.client.generate({
|
||||
model,
|
||||
prompt,
|
||||
system: system,
|
||||
system,
|
||||
keep_alive: keepAlive,
|
||||
options,
|
||||
});
|
||||
|
@ -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!');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user