mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 07:43:41 +08:00 
			
		
		
		
	feat: support stepfun's models
This commit is contained in:
		@@ -71,6 +71,7 @@ const (
 | 
			
		||||
	ChannelTypeGroq
 | 
			
		||||
	ChannelTypeOllama
 | 
			
		||||
	ChannelTypeLingYiWanWu
 | 
			
		||||
	ChannelTypeStepFun
 | 
			
		||||
 | 
			
		||||
	ChannelTypeDummy
 | 
			
		||||
)
 | 
			
		||||
@@ -108,6 +109,7 @@ var ChannelBaseURLs = []string{
 | 
			
		||||
	"https://api.groq.com/openai",               // 29
 | 
			
		||||
	"http://localhost:11434",                    // 30
 | 
			
		||||
	"https://api.lingyiwanwu.com",               // 31
 | 
			
		||||
	"https://api.stepfun.com",                   // 32
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user