Explorar el Código

Merge pull request #9744 from hurxxxx/fix/title-tag-gen-at-model

fix: title and tag generation did not work when selecting "atSelectedModel"
Timothy Jaeryang Baek hace 7 meses
padre
commit
b935a839fe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/lib/components/chat/Chat.svelte

+ 1 - 1
src/lib/components/chat/Chat.svelte

@@ -1582,7 +1582,7 @@
 					(messages.length == 2 &&
 						messages.at(0)?.role === 'system' &&
 						messages.at(1)?.role === 'user')) &&
-				selectedModels[0] === model.id
+				(selectedModels[0] === model.id || atSelectedModel !== undefined)
 					? {
 							background_tasks: {
 								title_generation: $settings?.title?.auto ?? true,