Skip to content

[AIBundle] Streaming responses missing from the profiler #161

@valtzu

Description

@valtzu

While working on the streaming demo (#118), I discovered streaming AI responses do not show up in the profiler, even though the related HTTP requests / responses do show up there.

Looks like the issue with streaming responses missing in the profiler is due to 2 issues:

  1. DataCollector does not implement LateDataCollectorInterface – this is an easy fix
  2. StreamResponse holds a \Generator and thus, is not serializable

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI BundleIssues & PRs about the AI integration bundleBugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions