Alex Rattray

Results 272 comments of Alex Rattray

The SDK generally does not support endpoints which are not generally available.

Thanks for the report, we're looking into this. I don't think that dependency is actually used, so if you can find a way to ignore this, you should be fine.

We are removing that dependency, and it should be out early next week. However, note that `md5` [does indeed have a `2.3.0` package live on `npm`](https://www.npmjs.com/package/md5), so this may have...

This is the example for how to use Azure with this library: https://github.com/openai/openai-node/blob/master/examples/azure.ts You can instantiate a client that way and then do `client.beta.assistants.create()` exactly as you would in Python....

What code did you use and what problems did you run into?

Ah, I see. A PR adding an `azure-assistants.ts` file would be welcome.

@naichalun that is not on-topic for this thread. I'd ask you to open another, but the answer is here: https://github.com/openai/openai-node?tab=readme-ov-file#configuring-an-https-agent-eg-for-proxies

Could you use a closure for this? ```ts async function callFunctions() { const context = {}; function updateEvent(args: ArgsFromOpenAi) { const { eventId } = context; const event = await...