update
This commit is contained in:
@@ -283,7 +283,7 @@ function handleOpenBausteineView() {
|
||||
previewGuide.value = null
|
||||
}
|
||||
|
||||
async function handleFormatClick({ format, instructions }) {
|
||||
async function handleFormatClick({ format, instructions, abStep = null }) {
|
||||
if (!selectedTopic.value) return
|
||||
// Kein Duplikat-Start: läuft für Thema+Format schon eine Generierung, ignorieren
|
||||
const running = guides.value.some(
|
||||
@@ -293,7 +293,7 @@ async function handleFormatClick({ format, instructions }) {
|
||||
if (running) return
|
||||
uiError.value = null
|
||||
try {
|
||||
await apiCreate(selectedTopic.value, format, instructions, provider.value)
|
||||
await apiCreate(selectedTopic.value, format, instructions, provider.value, abStep)
|
||||
} catch (e) {
|
||||
uiError.value = e.message
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user