Closed liudonghua123 closed 3 weeks ago
I tested the same key and https://api.chatanywhere.tech
as API Host
in Chatbox, it's working as expected.
plz double check with you model provider
plz double check with you model provider
I use openai model provider and gpt4o model (also tried gpt3.5 model, but it's the same).
It's my mistake, I forgot to copy the complete key which contains sk-
prefix. Now it's working.
Bug Description
I got a free key and tested with
openai
python package with custombase_url="https://api.chatanywhere.tech/v1"
successfully. But when I configured the same key in OpenAI API Key and "https://api.chatanywhere.tech/", "https://api.chatanywhere.tech" or "https://api.chatanywhere.tech/v1" in OpenAI Endpoint. None of them works.The UI only shown this error.
Steps to Reproduce
key
inOpenAI API Key
,https://api.chatanywhere.tech
inOpenAI Endpoint
Expected Behavior
work as expected.
Screenshots
Deployment Method
Desktop OS
Microsoft Windows [Version 10.0.22631.3672]
Desktop Browser
Edge
Desktop Browser Version
125
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
The tested code.