mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-22 06:02: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 {
|
export class Claude {
|
||||||
constructor(model_name, url, params) {
|
constructor(model_name, url, params) {
|
||||||
this.model_name = model_name;
|
this.model_name = model_name;
|
||||||
this.params = params;
|
this.params = params || {};
|
||||||
|
|
||||||
let config = {};
|
let config = {};
|
||||||
if (url)
|
if (url)
|
||||||
|
|
Loading…
Add table
Reference in a new issue