Open TiPEX360 opened 1 month ago
const mjClient = new Midjourney({ ServerId: process.env.MJ_SERVER_ID, ChannelId: process.env.MJ_CHANNEL_ID, SalaiToken: process.env.MJ_SALAI_TOKEN ?? "", Ws: true })
await mjClient.init()
await mjClient.Imagine("Example prompt", (uri, progress) => { console.log("progress called") console.log(uri, progress) })
Describe the bug A clear and concise description of what the bug is.
The progress callback function passed to Imagine is never called. No log messages appear with the above example.
Expected behavior A clear and concise description of what you expected to happen.
Progress function should be called. uri and progress strings logged to the console using the example code given.
Screenshots If applicable, add screenshots to help explain your problem.
🎊 ws ready!!! Hi: null
the code that reproduces this issue or a replay of the bug
const mjClient = new Midjourney({ ServerId: process.env.MJ_SERVER_ID, ChannelId: process.env.MJ_CHANNEL_ID, SalaiToken: process.env.MJ_SALAI_TOKEN ?? "", Ws: true })
await mjClient.init()
await mjClient.Imagine("Example prompt", (uri, progress) => { console.log("progress called") console.log(uri, progress) })
Describe the bug
Describe the bug A clear and concise description of what the bug is.
The progress callback function passed to Imagine is never called. No log messages appear with the above example.
Expected behavior A clear and concise description of what you expected to happen.
Progress function should be called. uri and progress strings logged to the console using the example code given.
Screenshots If applicable, add screenshots to help explain your problem.
error log
🎊 ws ready!!! Hi: null