feat: add chatgpt support for aibridge proxy (#23826)

Add ChatGPT support for AIBridgeProxy
This commit is contained in:
Yevhenii Shcherbina
2026-03-31 12:54:38 -04:00
committed by GitHub
parent 2a990ce758
commit 84b94a8376
4 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ const (
// ChatGPT provider.
const (
ProviderChatGPT = "chatgpt"
BaseURLChatGPT = "https://chatgpt.com/backend-api/codex"
HostChatGPT = "chatgpt.com"
BaseURLChatGPT = "https://" + HostChatGPT + "/backend-api/codex"
)
// IsBYOK reports whether the request is using BYOK mode, determined