fix(openai-compat): use model id for auth model display

This commit is contained in:
hkfires
2025-12-09 18:09:14 +08:00
parent 3cfe7008a2
commit 347769b3e3

View File

@@ -779,7 +779,7 @@ func (s *Service) registerModelsForAuth(a *coreauth.Auth) {
Created: time.Now().Unix(), Created: time.Now().Unix(),
OwnedBy: compat.Name, OwnedBy: compat.Name,
Type: "openai-compatibility", Type: "openai-compatibility",
DisplayName: m.Name, DisplayName: modelID,
}) })
} }
// Register and return // Register and return