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,14 @@
|
||||
import { listPromptPresets } from '~/server/utils/promptPresets'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const owner = libraryOwnerKey(event)
|
||||
return {
|
||||
presets: listPromptPresets(owner).map(item => ({
|
||||
id: item.id,
|
||||
name: item.name,
|
||||
description: item.description || '',
|
||||
builtin: Boolean(item.builtin),
|
||||
systemPrompt: item.systemPrompt
|
||||
}))
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user