mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-21 21:52:07 +02:00
define params by default
This commit is contained in:
parent
845a9334b4
commit
74eeebcfcb
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import { getKey } from '../utils/keys.js';
|
|||
export class Claude {
|
||||
constructor(model_name, url, params) {
|
||||
this.model_name = model_name;
|
||||
this.params = params;
|
||||
this.params = params || {};
|
||||
|
||||
let config = {};
|
||||
if (url)
|
||||
|
|
Loading…
Add table
Reference in a new issue