define params by default

This commit is contained in:
MaxRobinsonTheGreat 2025-02-05 12:39:53 -06:00
parent 845a9334b4
commit 74eeebcfcb

View file

@ -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)