Gabriel Anderson
Gabriel Anderson
I came here to check for this specific issue. Additionally, I'd like for `index.html` to use `all.min.js` instead of `lib.js`, `out.js`, and `rts.js`.
Is anyone working on a PR to solve this? This is a fairly serious issue, since every request calls aiohttp.ClientSession(), which the aiohttp docs [specifically state must be avoided](https://docs.aiohttp.org/en/stable/client_quickstart.html#make-a-request). This...
Ok, I found the undocumented ContextVar, `openai.aiosession`. Basically, to avoid this issue, you have to manage this session yourself. To work with langchain, I created wrappers for `openai.ChatCompletion` and `openai.Embedding`,...