mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 06:43:41 +08:00
feat: support Tencent's model (close #519)
This commit is contained in:
@@ -423,6 +423,15 @@ func init() {
|
||||
Root: "semantic_similarity_s1_v1",
|
||||
Parent: nil,
|
||||
},
|
||||
{
|
||||
Id: "hunyuan",
|
||||
Object: "model",
|
||||
Created: 1677649963,
|
||||
OwnedBy: "tencent",
|
||||
Permission: permission,
|
||||
Root: "hunyuan",
|
||||
Parent: nil,
|
||||
},
|
||||
}
|
||||
openAIModelsMap = make(map[string]OpenAIModels)
|
||||
for _, model := range openAIModels {
|
||||
|
||||
Reference in New Issue
Block a user