can we add "Custom API Domain" for cohere rerank api #796

Closed
opened 2026-02-21 17:28:28 -05:00 by yindo · 3 comments
Owner

Originally created by @leslie2046 on GitHub (Dec 9, 2023).

Originally assigned to: @takatost on GitHub.

Description of the new feature / enhancement

can we add Custom API Domain for cohere rerank api,because cohere is banned by GFW,
i want to access it by my reserve proxy.just like openai api
eb0ad1b648f274ada51de1edf4efd2a

Scenario when this would be used?

None

Supporting information

None

Originally created by @leslie2046 on GitHub (Dec 9, 2023). Originally assigned to: @takatost on GitHub. ### Description of the new feature / enhancement can we add Custom API Domain for cohere rerank api,because cohere is banned by GFW, i want to access it by my reserve proxy.just like openai api ![eb0ad1b648f274ada51de1edf4efd2a](https://github.com/langgenius/dify/assets/10449699/514a8ca2-8f1d-4b57-a867-f041bd8452f8) ### Scenario when this would be used? None ### Supporting information None
yindo added the 💪 enhancement label 2026-02-21 17:28:28 -05:00
yindo closed this issue 2026-02-21 17:28:28 -05:00
Author
Owner

@wangxing7714436 commented on GitHub (Dec 12, 2023):

It would be great if you guys can add custom proxy url for proxy.

@wangxing7714436 commented on GitHub (Dec 12, 2023): It would be great if you guys can add custom proxy url for proxy.
Author
Owner

@crazywoola commented on GitHub (Dec 19, 2023):

It would be great if you guys can add custom proxy url for proxy.

We do support proxy by add HTTP_PROXY and HTTPS_PROXY to api and worker in compose file.

@crazywoola commented on GitHub (Dec 19, 2023): > It would be great if you guys can add custom proxy url for proxy. We do support proxy by add HTTP_PROXY and HTTPS_PROXY to api and worker in compose file.
Author
Owner

@leslie2046 commented on GitHub (Dec 19, 2023):

It would be great if you guys can add custom proxy url for proxy.

We do support proxy by add HTTP_PROXY and HTTPS_PROXY to api and worker in compose file.

it works
图片

@leslie2046 commented on GitHub (Dec 19, 2023): > > It would be great if you guys can add custom proxy url for proxy. > > We do support proxy by add HTTP_PROXY and HTTPS_PROXY to api and worker in compose file. it works ![图片](https://github.com/langgenius/dify/assets/10449699/4fcd890f-c265-46eb-bc18-e7e46c731c79)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#796