Alex Rattray

Results 269 comments of Alex Rattray

@kristapratico in this scenario, can you confirm whether AOAI will respond with `retry-after` and/or `retry-after-ms` headers?

Thanks for reporting, @dramdass. I'm not sure we'd prioritize a fix here, but we'd likely accept a contribution that updates the module client to match the non-module client.

Please do, thank you Krista! cc @RobertCraigie

Thanks for the suggestion – I don't _think_ we have a great way to do this right now, but it seems like a reasonable idea. I don't expect to get...

I doubt that's how we'd design it. You could use httpx event_hooks: https://www.python-httpx.org/advanced/event-hooks/

Great! It'd be appreciated if you could share the (rough) code snippet you and up using, so others can benefit

> It's still a bit annoying to hack to import SyncHttpxClientWrapper, and manually set all the defaults(like base_url, timeout, follow_redirects, etc) for its constructor tho. If it's possible to expose...

You're correct it isn't trivial, which is why we will need to take our time designing it – and `on_request` and similar niceities may not land right away. However, `DefaultHttpxClient`...

Actualy, just going to https://github.dev in my browser works just fine for this.