Fixed models being icorrectly set and added SetDefaultRegistry

This commit is contained in:
Hein
2025-11-19 18:22:56 +02:00
parent 850d7b546c
commit 456c165814
2 changed files with 5 additions and 1 deletions

View File

@@ -28,6 +28,10 @@ func NewModelRegistry() *DefaultModelRegistry {
}
}
func SetDefaultRegistry(registry *DefaultModelRegistry) {
defaultRegistry = registry
}
// AddRegistry adds a registry to the global list of registries
// Registries are searched in the order they were added
func AddRegistry(registry *DefaultModelRegistry) {