diff --git a/src/chat/upload-file.ts b/src/chat/upload-file.ts index 4d0eb15..ab113af 100644 --- a/src/chat/upload-file.ts +++ b/src/chat/upload-file.ts @@ -2,8 +2,7 @@ import formidable from 'formidable'; import fs from 'node:fs/promises'; import { fileReader } from '../util/fileReader.js'; import { IDENTITY_HEADER } from './index.js'; -import { addMessages, getMessages } from '../util/messageStore.js'; -import { ChatCompletionMessageParam } from 'openai/resources/index.js'; +import { addMessages } from '../util/messageStore.js'; const fileUpload = async (request: any, response: any) => {