Skip to content

fix: “Summarizer error: 'list' object has no attribute 'split'“#16

Open
bitbound wants to merge 1 commit into
open-webui:mainfrom
bitbound:safe-content-extraction
Open

fix: “Summarizer error: 'list' object has no attribute 'split'“#16
bitbound wants to merge 1 commit into
open-webui:mainfrom
bitbound:safe-content-extraction

Conversation

@bitbound
Copy link
Copy Markdown

First off, thanks for this summarizer filter! It's been very helpful.

However, I'll occasionally start getting the error, “Summarizer error: 'list' object has no attribute 'split'“. It looks like the message content is sometimes of type list.

Digging around in the backend, I see places like this that show message content can be a list of dictionaries: https://github.com/open-webui/open-webui/blob/main/backend/open_webui/utils/payload.py#L249

I plugged this change into my OWUI instance, and it's working. It also fixed a session that was stuck on the summarizer error.

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