mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add chatgpt support for aibridge proxy (#23826)
Add ChatGPT support for AIBridgeProxy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user