Merge pull request #1 from Calcium-Ion/main

1
This commit is contained in:
luxl-1379
2023-11-14 08:57:47 +08:00
committed by GitHub
5 changed files with 21 additions and 11 deletions

View File

@@ -54,6 +54,15 @@ func init() {
})
// https://platform.openai.com/docs/models/model-endpoint-compatibility
openAIModels = []OpenAIModels{
{
Id: "midjourney",
Object: "model",
Created: 1677649963,
OwnedBy: "Midjourney",
Permission: permission,
Root: "midjourney",
Parent: nil,
},
{
Id: "dall-e-2",
Object: "model",