Comments (5)
Hi,
I have seen your PRs and thanks for your notice.
I have upgraded the CharGpt version but I do not have a session token for test.
You can try this version.
from chat-gpt-ppt.
This project has been rewritten with golang. This problem no longer exists.
from chat-gpt-ppt.
This problem exists on golang too .
panic: Post "https://api.openai.com/v1/chat/completions": net/http: invalid header field value for "Authorization"
goroutine 1 [running]:
main.panicIfErr(...)
/data/data/com.termux/files/home/chat-gpt-ppt/cmd/cgp/main.go:42
main.main()
/data/data/com.termux/files/home/chat-gpt-ppt/cmd/cgp/main.go:37 +0x324
from chat-gpt-ppt.
Did you set a correct token (OpenAI official APIKEY) in token.txt?
from chat-gpt-ppt.
This problem exists on golang too .
panic: Post "https://api.openai.com/v1/chat/completions": net/http: invalid header field value for "Authorization"
goroutine 1 [running]: main.panicIfErr(...) /data/data/com.termux/files/home/chat-gpt-ppt/cmd/cgp/main.go:42 main.main() /data/data/com.termux/files/home/chat-gpt-ppt/cmd/cgp/main.go:37 +0x324
Oh I see. Maybe there are some extra white spaces or empty lines in your token.txt
.
I have added some descriptions in README, thanks.
https://github.com/williamfzc/chat-gpt-ppt#usage
from chat-gpt-ppt.
Related Issues (14)
- revChatGPT.revChatGPT
- improvement
- windows build is broken HOT 1
- panic while running cgp HOT 4
- Google Bard Support
- An error happens in my M1 macbook HOT 1
- Rate limit issue HOT 1
- AI ppt HOT 1
- Implementation in Python HOT 1
- OpenAI's services are not available in my country. HOT 1
- Plan about this project HOT 3
- panic: fork/exec /tmp/tmpMarp3329840233: permission denied HOT 5
- Why do we build this tiny tool? HOT 2
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 chat-gpt-ppt.