This commit is contained in:
Omer Sabic 2024-07-22 22:40:32 +02:00
parent 1fefda4322
commit ab207c8ec6

View File

@ -1,7 +1,7 @@
const defaultModel = '@hf/mistralai/mistral-7b-instruct-v0.2'; const defaultModel = '@hf/mistralai/mistral-7b-instruct-v0.2';
import OpenAI, { toFile } from "openai"; import OpenAI, { toFile } from "openai";
import { env } from "./env.js"; import { env } from "./env.js";
import ytdl from "ytdl-core"; import ytdl from "@distube/ytdl-core";
import { PassThrough } from "stream"; import { PassThrough } from "stream";
const openai = new OpenAI({ const openai = new OpenAI({