Comments (2)
I custom API url, not work:
It shows:
But, it works well on Chrome Extension (https://github.com/openai-translator/openai-translator):
Is there anything wrong?
First of all, you do need to check the button that says "Change API Endpoint." But regardless, I just tested api.f2gpt.com myself:
curl https://api.f2gpt.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer [[REDACTED API KEY]]" \
-d '{
"messages": [
{ "role": "user", "content": "### Instruction:\n Please confirm receipt. \n\n ### Response:\n" }
],
"stop": ["### Instruction:"],
"temperature": 0.7,
"max_tokens": 200,
"model":"gpt-4",
"stream": false
}'
This returns {"error":{"message":"提供的KEY有误,详情访问 f2api.com","type":"invalid_request_error","param":null,"code":"invalid_api_key"}}%
Whereas posting the same query to https://api.openai.com/v1/chat/completions does work.
Do you have reason to trust this API? Not knowing anything about it, my guess is set up to collect people's API keys. I immediately revoked the API key I submitted to test it, and suggest you do the same unless you have a reason to trust it.
from chatgpt-raycast.
I send but still no result after mins, if I use in a wrong way?
from chatgpt-raycast.
Related Issues (20)
- Build not building to /dist? HOT 3
- ChatGPT falied auth token HOT 2
- Multiple Q&A support HOT 4
- Some ideas about this extension HOT 7
- Use streaming mode to show the answer HOT 3
- Allow custom api url HOT 1
- Models not showing on Ask Question command HOT 2
- Are you suggesting that I install it from the store? Because I can't seem to find it. HOT 4
- Keyboard shortcut or alias for every model
- 429 error with Store version HOT 2
- Seems extension haven't used the API key and there's errors shown HOT 11
- When issuing new questions in the same conversation, only the response to #1 is remembered HOT 1
- GPT-4 is not listed in the Model list HOT 2
- Cannot select GPT-4 HOT 2
- Getting 429 Error
- Prompts support
- Feature Request: Add support for OpenAI Assistants HOT 1
- Can I publish this plugin on my website with the copyright information still being yours?
- Request for Style Change HOT 3
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-raycast.