diff --git a/cmd/copilot/main.go b/cmd/copilot/main.go index 202432c1e378d53ae48aa71e1fc25d0a2efc705d..35d3cebcf8d3ea1bad11cbcc266f7d34d37830f9 100644 --- a/cmd/copilot/main.go +++ b/cmd/copilot/main.go @@ -92,7 +92,7 @@ func run() error { // NOTE(@andreynering): Exclude versioned models and keep only the main version of each. copilotModels = slices.DeleteFunc(copilotModels, func(m Model) bool { - return m.ID != m.Version || versionedModelRegexp.MatchString(m.ID) || strings.Contains(m.ID, "embedding") + return m.ID != m.Version || versionedModelRegexp.MatchString(m.ID) || strings.Contains(m.ID, "embedding") || strings.HasPrefix(m.ID, "accounts/msft/routers") }) catwalkModels := modelsToCatwalk(copilotModels)