mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 15:53:42 +08:00 
			
		
		
		
	chore: update api endpoint for CloseAI
This commit is contained in:
		@@ -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.openai-asia.com/r/2412)
 | 
			
		||||
   + [x] [CloseAI](https://console.closeai-asia.com/r/2412)
 | 
			
		||||
   + [x] [AI.LS](https://ai.ls)
 | 
			
		||||
   + [x] [OpenAI Max](https://openaimax.com)
 | 
			
		||||
   + [x] 自定义渠道:例如各种未收录的第三方代理服务
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user