Skip to content

Title generation skips if message generation is too fast #123

@danielmartinsen

Description

@danielmartinsen

When using the library with automatic title generation, if the main chat request finishes before the title generation request completes (for example, due to a very short assistant reply or high first-token latency on the title model), the generated title is never saved.

Steps to reproduce:

  1. Send a message with title generation enabled (for example, ask the assistant to respond with just a single word).
  2. If necessary, use a slower model for title generation.
  3. Observe that no title is generated.

The same issue occurs when using a thinking model, such as the GPT‑5 series. Thinking models should of course normally not be used for title generation, but this helps illustrate the problem.

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