Alex Rattray
Alex Rattray
Got it, that makes sense. Can you share more examples of what you've implemented or what you'd want this to look like / how you'd want to use it? E.g.,...
Thanks. Could you provide a more complete code sample of what you're trying to do / how you're trying to use this? Including how you update and reference the context?
Have you tried using `.bind(context)` on the functions before passing them in, and referencing `this` for context? Or even a pattern like this?: ```ts // in one file const updateEvent...
Thanks! Hmm, it might be optimal, but I'd like to provide the best possible experience. Would you be willing to share a more complete code sample of what you'd ideally...
Interesting. Thank you very much for sharing, this is quite helpful. The `toolContext` suggestion is interesting and we'll take that back to the team. What do you think about something...
Thanks, we'll try to fix this soon!
Can you share tsconfig, package.json, and jest config? If you are using `@jest-environment jsdom`, there's a good chance that you actually want to use `import 'openai/shims/node'` and add a global...
Ah I'm so sorry, I meant `openai/shims/web` not `openai/shims/node` in that case.
Yes, you can as long as you have access to the global `fetch` function – it'll just use that. However, file uploads will require you to also polyfill `FormData`, `File`,...
Sorry about that. We hope to fix this when we can. In the meantime, you can listen to `.on('abort')` for this purpose. Does that work well for you? Out of...