Skip to content

bug: SummaryGenerator raises errors when not defined #869

@mhordynski

Description

@mhordynski

What happened?

When SummaryGenerator is not defined we get spam of logs with tracebacks included in the issue.

How can we reproduce it?

Relevant log output

Traceback (most recent call last): File "/app/.venv/lib/python3.13/site-packages/ragbits/chat/interface/_interface.py", line 110, in wrapper summary = await self.generate_conversation_summary(message, history, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.13/site-packages/ragbits/chat/interface/_interface.py", line 400, in generate_conversation_summary raise Exception("Tried to invoke `generate_conversation_summary`. No SummaryGenerator found.") Exception: Tried to invoke `generate_conversation_summary`. No SummaryGenerator found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions