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:
@@ -370,6 +370,22 @@ export async function deleteShotQueue(owner: string, id: string) {
|
||||
})
|
||||
}
|
||||
|
||||
export async function clearShotQueues(owner: string) {
|
||||
return mutate(owner, (queues) => {
|
||||
const kept: ShotQueue[] = []
|
||||
let removed = 0
|
||||
for (const queue of queues) {
|
||||
if (activeJobs.has(queue.id)) {
|
||||
kept.push(queue)
|
||||
continue
|
||||
}
|
||||
removed += 1
|
||||
}
|
||||
queues.splice(0, queues.length, ...kept)
|
||||
return { removed, remaining: kept.length }
|
||||
})
|
||||
}
|
||||
|
||||
export function listOwnersWithQueues() {
|
||||
const root = join(libraryRoot(), 'users')
|
||||
if (!existsSync(root)) return []
|
||||
|
||||
Reference in New Issue
Block a user