Skip to content

Support for token‑streaming in chat responses #73

Description

@Bastian-S

The current version of the moodle-block_ai_chat plugin (or the underlying moodle-local_ai_manager) appears to return chat responses only after the full message has been generated. Token‑streaming (incremental output while the model is generating) does not seem to be supported.

For my use case, streaming would significantly improve the user experience:

  • It reduces perceived waiting time
  • It makes interactions feel more natural and conversational
  • It aligns with how most LLM-APIs typically behave

Is token‑streaming currently supported or planned for future releases of the plugin?
Are there technical limitations in the plugin or backend that prevent streaming?
Would it be possible to add an option for streamed responses?

Thank you very much for your work on the plugin and for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions