Skip to content

[BUG] LLMStreamChunkEvent has no differentiator #3845

@Vidit-Ostwal

Description

@Vidit-Ostwal

@cloud-java Hello, I am currently using FastAPI and Crewai, and I am encountering an issue: there seems to be no property like message_id in LLMStreamChunkEvent that allows me to determine which streams belong to the same message. Currently, I am using task_id and agent_id, but I have found that in the same task, the same agent may speak twice, which may cause two messages to merge together. I see that you seem to have implemented this feature. Can you share how to solve this problem

Originally posted by @ssssshql in #3739

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