fix(server): fixes /api/tags shows all models despire group rules
Build & Deploy / build (push) Successful in 2m2s

This commit is contained in:
2026-07-17 22:12:09 +02:00
parent d61592c239
commit 9176807135
2 changed files with 19 additions and 4 deletions
+8 -2
View File
@@ -912,21 +912,27 @@ internal sealed class ManagementStore
{
if (regex.IsMatch(connectedClient))
{
allClients.Add(connectedClient);
if (!string.IsNullOrWhiteSpace(model))
{
clientModels.Add($"{connectedClient}:{model}");
}
else
{
allClients.Add(connectedClient);
}
}
}
}
else if (!string.IsNullOrWhiteSpace(clientId))
{
allClients.Add(clientId);
if (!string.IsNullOrWhiteSpace(model))
{
clientModels.Add($"{clientId}:{model}");
}
else
{
allClients.Add(clientId);
}
}
}