Fix bullmq import for ESM SSR compatibility (use default import)
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
import { Queue, Worker, QueueScheduler } from "bullmq";
|
import pkg from "bullmq";
|
||||||
|
const { Queue, Worker, QueueScheduler } = pkg;
|
||||||
import IORedis from "ioredis";
|
import IORedis from "ioredis";
|
||||||
import { OpenRouterClient } from "./openrouter";
|
import { OpenRouterClient } from "./openrouter";
|
||||||
import { TradingGraph } from "../agents/tradingGraph";
|
import { TradingGraph } from "../agents/tradingGraph";
|
||||||
|
|||||||
Reference in New Issue
Block a user