Skip to content

bug: deepseek + ai mode generates broken mjml, thinking is not conveyed in the chat UI #363

Description

@linuxd3v

I use deepseek v4 pro openai api.
I use following query: "Update general theme for this email - make it more earthy looking".
Same query works great when I use it from opencode/openchamber.

Issue 1:
sometimes broken mjml is generated I think - but there is no indication in the notifuse UI about that.
So then I click on "save" template in notifuse - but then cannot preview anything because mjml is broken.
Also - because mjml sometimes is broken - preview does not update, so people will be confused what is even happening if query finished, but template kind of looks the same.
Typically that would require a simple follow up prompt to fix, but because UI does not tell me that mjml is broken, or what exactly is broken - non-technical notifuse users just would have not idea what is even broken.
Experience for non-developers will be that - "it would seem that notifuse broke my template".
Proposed solution: add mjml validation when user query completes - automatically submit a follow up query "Fix these issues" if mjml validation does not pass.

Image Image

Issue 2:
Thinking models typically output a lot more information while generating response - is it possible to enable streaming of all that information? Perhaps could it be made configurable when configuring openai api?
Otherwise people are left to wonder if things are even working.
See for example openchamber deepseek streaming output:

Image

Issue 3:
models typically have an effort switch. Could effort switch be made available in the openai configuration screen? it could just be default by default, but if needed would be great to select medium or high.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions