Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
27.45k stars 2.76k forks source link

[FEAT]: Use ChatGPT Web Session #2646

Closed gmmedia closed 3 days ago

gmmedia commented 3 days ago

What would you like to see?

Would it be possible to use the ChatGPT web session as LMM?

I know this feature from some Chrome extensions. It is a big money safer for ChatGPT Plus subscribers.

timothycarambat commented 3 days ago

Like being able to bring your token from the chatgpt.com website and use it in AnythingLLM? This is not possible due to CORS. The reason this works in a Chrome extension is because the extension is basically "inside" the webpage so CORS is not a problem since the token origin is a valid OpenAI Host, whereas trying to use the browser token in a third party would violate this and would be blocked by OpenAI.

It is also against ToS to use the web app like that so could land users in a spot of trouble as well