This commit is contained in:
team3
2026-06-22 12:55:52 +02:00
parent 04900eef55
commit 0adc223c0a
7 changed files with 75 additions and 26 deletions

View File

@@ -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