feat: sync deployed v1.0.0-rc.38-custom.42
Sync production source including routing, billing, Astra detection and public uptime. Update custom build instructions and license packaging.
This commit is contained in:
1 parent
aa6c3f50f4
commit
ceddfd3d6b
828 files changed
+122253
-13702
No files matched your search
@@ -195,6 +195,18 @@ func getModelListGroups(c *gin.Context) (modelListGroups, error) {
|
||||
return modelListGroups{}, err
|
||||
}
|
||||
}
|
||||
if service.RequestRoutingPolicy(c) != nil {
|
||||
entries := service.ResolveRequestPool(c, "")
|
||||
ownerGroups := make([]string, 0, len(entries))
|
||||
for _, entry := range entries {
|
||||
ownerGroups = append(ownerGroups, entry.Group)
|
||||
}
|
||||
return modelListGroups{
|
||||
userGroup: userGroup,
|
||||
tokenGroup: tokenGroup,
|
||||
ownerGroups: ownerGroups,
|
||||
}, nil
|
||||
}
|
||||
|
||||
if tokenGroup == "auto" {
|
||||
return modelListGroups{
|
||||
|
||||
Reference in new issue
Block a user