Skip to content

Conversation

@OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Nov 14, 2025

Q A
Bug fix? yes
New feature? no
Docs? no
Issues Fix #833
License MIT

Replaces

@carsonbot carsonbot added Agent Issues & PRs about the AI Agent component Bug Something isn't working Status: Needs Review labels Nov 14, 2025
@OskarStark
Copy link
Contributor Author

Thank you @copilot.

@OskarStark OskarStark force-pushed the copilot/fix-streaming-sources-metadata-2 branch from cfdc2d8 to aeb6e22 Compare November 14, 2025 07:52
@OskarStark OskarStark merged commit 1e69969 into symfony:main Nov 14, 2025
14 checks passed
@OskarStark OskarStark deleted the copilot/fix-streaming-sources-metadata-2 branch November 14, 2025 08:30
chr-hertel added a commit that referenced this pull request Nov 14, 2025
…skarStark)

This PR was squashed before being merged into the main branch.

Discussion
----------

 Add OpenAI example demonstrating streaming with sources

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | no
| Issues        | Follows #868
| License       | MIT

This example shows how to use the Agent with OpenAI platform to stream responses while collecting source metadata from tools like Tavily. This demonstrates the fix for issue #833 where sources metadata was unavailable during streaming.

<img width="2852" height="454" alt="CleanShot 2025-11-14 at 10 11 21@2x" src="https://github.com/user-attachments/assets/474eb2ed-af88-4e97-81a5-42ad4434b8c6" />

Weird that the clock is used as source, isn't? 🤔

Commits
-------

948c504  Add OpenAI example demonstrating streaming with sources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Agent Issues & PRs about the AI Agent component Bug Something isn't working Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Agent] Unable to access sources metadata with streaming

2 participants