3 ms·
It's right there in the code. https://github.com/clmnin/summarize.site/blob/0e4da39fa4355a2b04e5c4a587dbc9b484b44920/src/background/index.js#LL25C12-L25C12 htt
by bertman 4y ago
It's right there in the code.
https://github.com/clmnin/summarize.site/blob/0e4da39fa4355a2b04e5c4a587dbc9b484b44920/src/background/index.js#LL25C12-L25C12 https://github.com/clmnin/summarize.site/blob/0e4da39fa4355a...
POST request with access token from the browser's cache after the user has logged in with their OpenAI account.
- your_challenger 4y agoYup. You need to SSE it though. Pretty simple actually (I'm OP, btw)
- designed 4y agoI didn't know what SSE was, so I asked ChatGPT: > What does 'SSE' stand for in the following code sample: <pasted fetch-sse.js> "In this code sample, 'SSE' likely stands for "Server-Sent Events". It is the name of the fetchSSE function and it is used to fetch data from a server using the Server-Sent Events protocol. This protocol allows a server to push data to a client in real-time, rather than requiring the client to continually poll the server for updates." Not sure how accurate this is but it gave me enough information to look into it more!
- nnoitra 4y ago