Comments (5)
Make sure you've copied the included env.example
file to .env
, and added the required variables (see README).
from chatgpt-telegram.
hmm, that's very weird, works fine for me 🤔
from chatgpt-telegram.
It's there and in the right directory 🤔
from chatgpt-telegram.
jcs @ ~/chatgpt-telegram-Darwin-arm64 % ls -al
total 15728
drwx------@ 7 joshstein staff 224 Dec 4 01:45 .
drwxr-x---+ 66 joshstein staff 2112 Dec 4 01:46 ..
-rw-r--r--@ 1 joshstein staff 85 Dec 4 01:45 .env
-rw-r--r-- 1 joshstein staff 1069 Dec 3 23:55 LICENSE
-rw-r--r-- 1 joshstein staff 742 Dec 3 23:55 README.md
-rwxr-xr-x@ 1 joshstein staff 8035394 Dec 3 23:55 chatgpt-telegram
-rw-r--r-- 1 joshstein staff 29 Dec 3 23:55 env.example
jcs @ ~/chatgpt-telegram-Darwin-arm64 % cat .env
TELEGRAM_ID=<my-telegram-ID>
TELEGRAM_TOKEN=<my-bot-token>
and the error is still:
/Users/joshstein/chatgpt-telegram-Darwin-arm64/chatgpt-telegram ; exit;
jcs @ ~ % /Users/joshstein/chatgpt-telegram-Darwin-arm64/chatgpt-telegram ; exit;
2022/12/04 01:48:41 Started ChatGPT
2022/12/04 01:48:41 Couldn't load .env file: open .env: no such file or directory
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
and
jcs @ ~ % sudo /Users/joshstein/chatgpt-telegram-Darwin-arm64/chatgpt-telegram
Password:
2022/12/04 01:52:23 Started ChatGPT
2022/12/04 01:52:23 Couldn't load .env file: open .env: no such file or directory
from chatgpt-telegram.
odd, ran it in terminal in VS code vs. iTerm or terminal and it worked
from chatgpt-telegram.
Related Issues (20)
- [SOS] The powershell and Telegram has no response.
- support for openai token:sk- HOT 1
- Couldn't start Telegram bot: Post "https://api.telegram.org/ HOT 2
- Human Verification on chromium HOT 4
- the bot always response error HOT 1
- Support custom model
- Couldn't launch headless browser: Couldn't launch headless browser: could not send message: could not send message to server: HOT 2
- Support for new ChatGPT API? HOT 1
- chromium crashes 10 seconds after opening up.
- Error: api.telegram.org no such host
- Invalid .env config
- 【ChatGPT注册登录攻略】
- Error: Couldn't get access token: failed to decode response: invalid character 'e' looking for beginning of value HOT 4
- can't get connection and I have started the proxy
- please help me
- Gpt
- The bot program is deployed according to the readme, but I am in the telegram, and the bot does not respond
- @MagicBuddyBot - ChatGPT for Telegram
- Error: Couldn't get access token: failed to decode response: invalid character 'e' looking for beginning of value HOT 14
- New login method (with password)
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 chatgpt-telegram.