Find answers from the community

m
mauz
Offline, last seen 3 months ago
Joined September 25, 2024
m
mauz
·

Hi everyone!

Hi everyone!

I'm trying to access the response headers from my completions endpoint for an AzureOpenAI agent using agent.stream_chat. In my setup there is a middleware proxy that adds a header to the response containing useful usage information which I would like to access in the agent, but from what I can see there are no events or callback events that contain the response object. Would someone be able to suggest a way?
5 comments
L
m
W