Skip to content

Commit bb32a75

Browse files
committed
don't override prompt
Signed-off-by: Demis Bellot <demis.bellot@gmail.com>
1 parent c39a9f8 commit bb32a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AiServer/wwwroot/mjs/components/ImageToText.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export default {
276276
watch(() => routes.id, updated)
277277

278278
watch(() => [prefs.value.model], () => {
279-
request.value.prompt = prefs.value.model
279+
request.value.prompt = prefs.value.model && !request.value.prompt
280280
? 'Describe this image'
281281
: ''
282282
})

0 commit comments

Comments
 (0)