Closed as not planned
Description
I am currently trying to build a chat web app for my agent, which is hosted using fastapi
. Since the UI library I'm using accepts the OpenAI Responses API format, I return exactly what is yielded in raw_response_event
. However, I found that there's no way to retrieve the response from my custom function calls, so I can't build a complete message history with function call results. I understand that I can explicitly get the function's result from run_item_stream_event
, but is there a way to not introducing a new type of event in the stream?
Does anyone have a solution for this? And how are you building a web UI for the agents?
Any suggestions are much appreciated. Thanks.