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:
Towsty
2026-08-27 17:04:43 -05:00
co-authored by Cursor
parent 2bb30395d8
commit df5ac24622
23 changed files with 1068 additions and 25 deletions
+15
View File
@@ -0,0 +1,15 @@
import { createPromptPreset, listPromptPresets } from '~/server/utils/promptPresets'
export default defineEventHandler(async (event) => {
const body = await readBody<{ name?: string; systemPrompt?: string; description?: string }>(event).catch(() => ({}))
const owner = libraryOwnerKey(event)
const created = await createPromptPreset(owner, {
name: body.name || '',
systemPrompt: body.systemPrompt || '',
description: body.description
})
return {
preset: created,
presets: listPromptPresets(owner)
}
})