Skip to content

Conversation

@OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Nov 14, 2025

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.

CleanShot 2025-11-14 at 10 11 21@2x

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

@carsonbot carsonbot changed the title Add OpenAI example demonstrating streaming with sources Add OpenAI example demonstrating streaming with sources Nov 14, 2025
@chr-hertel
Copy link
Member

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

it makes sense since the model doesn't know what date it is and needs that for getting an of "latest".

@chr-hertel
Copy link
Member

this example def proofs that there is still an issue:
image

but that's not the fault of this PR

@chr-hertel chr-hertel force-pushed the openai-stream-sources-example branch from c36992f to 948c504 Compare November 14, 2025 23:25
@chr-hertel
Copy link
Member

Thank you @OskarStark.

@chr-hertel chr-hertel merged commit 4523036 into symfony:main Nov 14, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants