Comments (4)
https://github.com/acheong08/EdgeGPT/releases/tag/0.0.52
from edgegpt.
It doesn't seem safe
What doesn't seem safe?
Can i store cookie with environment variable instead of cookie.json
Make a pull request if you wish as an option
from edgegpt.
IMHO, placing these in that separate JSON file is exactly as safe as placing them in the env variable. They both get referenced by the code. If "the enemy" has access to your JSON then they have equal access to your .bashrc or wherever you may keep that variable.
Interestingly enough the stored cookie works even some days afterwards. See also my today's end-user "naive" comments about Edge Chat session impermanence and how they wipe it with chocolate, mediation, and Japanese cultural joyful customs against human toxic answers, to avoid Taybot chat session cache problems.
from edgegpt.
@acheong08 We can already store cookies from environment variables with cookies
argument in ChatBot class
cookies = json.loads(os.environ.get("BING_COOKIES"))
The issue I found is that version of EdgeGPT in PyPI and in GitHub are out of sync
The latest version in PyPi had no support for cookies argument in ChatBot class
I had to install from GitHub to solve the issue
You can close this issue
from edgegpt.
Related Issues (20)
- websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200 HOT 8
- KeyError: 'suggestedResponses' HOT 1
- asyncio.exceptions.TimeoutError HOT 2
- [Bug]: server rejected WebSocket connection: HTTP 200 HOT 18
- [Bug]: Exception: Authentication failed. You have not been accepted into the beta. HOT 10
- Preserve conversation before it deletes it and says "sorry, i cant give a response to that". HOT 1
- [Bug]: Have a problem from example in README.md HOT 5
- CaptchaChallenge: User needs to solve CAPTCHA to continue HOT 1
- Facing this over server like railway & heroku
- BingImageCreator.py request_id = redirect_url.split("id=")[-1]为空
- [Bug]: Exception: UnauthorizedRequest: Cannot retrieve user status.
- [Bug]: cannot import name 'Chatbot' from 'EdgeGPT' HOT 2
- [Bug]: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200 when I use the script on a server HOT 7
- [Bug]: run EdgeGPT with flask HOT 3
- [Bug]: AttributeError: “list’ object has no attribute ‘startswith’” HOT 2
- Exception has occurred: Exception Authentication failed. You have not been accepted into the beta. HOT 6
- EdgeGPT可以使用用户名密码登陆吗
- [Bug]: Websocket init, HTTP 101 request, server response HTTP 200 HOT 4
- [Bug]: Invalid Captcha Response HOT 4
- [Bug]: websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgegpt.