Streaming with OpenAI Agents.
There are some examples using OpenAI agents that are request based or using the @callable decorator.
It would be great to have examples on leveraging OpenAI Agents for streaming/chat (this can extrapolate to anything non-vercel-ai-response dependant).
Understanding how you folks are looking into structuring responses/deltas
I would like to take up this issue. I'm thinking of creating a simple agent which searches the web and responds to the user's queries. The response generated will be streamed. I'll make sure to not use any vercel-ai-response.
Is this what you are looking for @fforres ? I am new to this and any feedback/inputs would be appreciated. Thank you!
Would be great.
Most of the issue IMO is defining patterns examples on how translate outputs of openai Agents into what cloudflare Agent expects (text parts/tool output/etc)
IIRC, cloudflare Agents uses the same as AI package from vercel, (that its adapted from OpenAI's Harmony)
@prajwxlk if you are still up for it, we'd be really grateful for this contribution