need a reverse proxy service for chatgpt/openai
Check for existing issues
- [X] Completed
Describe the feature
oepnai's reverse proxy service is very common, I tried adding the following configuration, but it didn't work
"assistant": {
"openai_api_url": "https://api.somereverseproxy.com/v1/chat/completions"
},
If this works, both the reverse proxy service and the offline model can be used
If applicable, add mockups / screenshots to help present your vision of the feature
No response
Somewhat related:
- #5032
- #4424
#8525 This adds support for Azure OpenAI. This should also work for reverse proxy / Local LLMs (Didn't test it though).
oepnai's reverse proxy service is very common, I tried adding the following configuration, but it didn't work
"assistant": { "openai_api_url": "https://api.somereverseproxy.com/v1/chat/completions" },
The openai_api_url setting should only contain the base URL.
What happens if you do it like this?
"assistant": {
"openai_api_url": "https://api.somereverseproxy.com/v1"
},
oepnai's reverse proxy service is very common, I tried adding the following configuration, but it didn't work
"assistant": { "openai_api_url": "https://api.somereverseproxy.com/v1/chat/completions" },The
openai_api_urlsetting should only contain the base URL.What happens if you do it like this?
"assistant": { "openai_api_url": "https://api.somereverseproxy.com/v1" },
Sorry, I can't test this problem now, because I found that my key (sk-xxxx) was not saved correctly to keychain access.app, only "sk-" was saved, even if I save it manually, I couldn't save it. May be caused by -.