feat: add multimodal analysis support to LLM moderation client by processing image attachments
This commit is contained in:
@@ -146,7 +146,7 @@ async function runAnalysisInWorker(
|
||||
return new Promise((resolve, reject) => {
|
||||
const worker = new Worker(
|
||||
new URL("./aiAnalysisWorker.ts", import.meta.url),
|
||||
{ execArgv: process.execArgv }
|
||||
{ execArgv: process.execArgv },
|
||||
);
|
||||
|
||||
worker.once("message", (response: AnalysisWorkerResponse) => {
|
||||
|
||||
Reference in New Issue
Block a user