Add sidecar Qwen VL prompt recommend, fix queued shot bursts, and leave unused MiniMax identity slots empty.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { getPromptJob, promptJobSnapshot } from '~/server/utils/promptComfy'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const id = getRouterParam(event, 'id')
|
||||
const job = id ? getPromptJob(id) : undefined
|
||||
if (!job) {
|
||||
throw createError({ statusCode: 404, statusMessage: 'Recommend job not found' })
|
||||
}
|
||||
return promptJobSnapshot(job)
|
||||
})
|
||||
Reference in New Issue
Block a user