Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
78b13872
authored
Jun 17, 2023
by
JustSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update api endpoint for CloseAI
parent
b8d73cb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
README.md
+1
-1
common/constants.go
+13
-13
No files found.
README.md
View file @
78b13872
...
...
@@ -57,7 +57,7 @@ _✨ All in one 的 OpenAI 接口,整合各种 API 访问方式,开箱即用
+
[
x
]
[
AI Proxy
]
(https://aiproxy.io/?i=OneAPI) (邀请码:
`OneAPI`
)
+
[
x
]
[
OpenAI-SB
]
(https://openai-sb.com)
+
[
x
]
[
API2GPT
]
(http://console.api2gpt.com/m/00002S)
+
[
x
]
[
CloseAI
]
(https://console.
open
ai-asia.com/r/2412)
+
[
x
]
[
CloseAI
]
(https://console.
close
ai-asia.com/r/2412)
+
[
x
]
[
AI.LS
]
(https://ai.ls)
+
[
x
]
[
OpenAI Max
]
(https://openaimax.com)
+
[
x
]
自定义渠道:例如各种未收录的第三方代理服务
...
...
common/constants.go
View file @
78b13872
...
...
@@ -138,17 +138,17 @@ const (
)
var
ChannelBaseURLs
=
[]
string
{
""
,
// 0
"https://api.openai.com"
,
// 1
"https://oa.api2d.net"
,
// 2
""
,
// 3
"https://api.openai-
asia.com
"
,
// 4
"https://api.openai-sb.com"
,
// 5
"https://api.openaimax.com"
,
// 6
"https://api.ohmygpt.com"
,
// 7
""
,
// 8
"https://api.caipacity.com"
,
// 9
"https://api.aiproxy.io"
,
// 10
""
,
// 11
"https://api.api2gpt.com"
,
// 12
""
,
// 0
"https://api.openai.com"
,
// 1
"https://oa.api2d.net"
,
// 2
""
,
// 3
"https://api.openai-
proxy.org
"
,
// 4
"https://api.openai-sb.com"
,
// 5
"https://api.openaimax.com"
,
// 6
"https://api.ohmygpt.com"
,
// 7
""
,
// 8
"https://api.caipacity.com"
,
// 9
"https://api.aiproxy.io"
,
// 10
""
,
// 11
"https://api.api2gpt.com"
,
// 12
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment