mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-26 00:53:44 +02:00
fix novita
This commit is contained in:
parent
cb263c1b02
commit
246aa450bc
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import { strictFormat } from '../utils/text.js';
|
|||
export class Novita {
|
||||
static prefix = 'novita';
|
||||
constructor(model_name, url, params) {
|
||||
this.model_name = model_name.replace('novita/', '');
|
||||
this.model_name = model_name;
|
||||
this.url = url || 'https://api.novita.ai/v3/openai';
|
||||
this.params = params;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue