Skip to content

check for images in all messages of the chat - not only the last one#14

Open
jegranado wants to merge 1 commit intoopen-webui:mainfrom
jegranado:patch-1
Open

check for images in all messages of the chat - not only the last one#14
jegranado wants to merge 1 commit intoopen-webui:mainfrom
jegranado:patch-1

Conversation

@jegranado
Copy link

It was checking only the last image of the chat, meaning that if the user continued the conversation, it would break because the original model may not accept images/multi-modal inputs.

With this change, it checks the entire history for images before deciding to route - or not - the request, ensuring that follow-up questions are still analyzed by the vison-enabled model.

It was checking only the last image of the chat, meaning that if the user continued the conversation, it would break because the original model may not accept images/multi-modal inputs.

With this change, it checks the entire history for images before deciding to route - or not - the request, ensuring that follow-up questions are still analyzed by the vison-enabled model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant