MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / GlobalModelRegistry

Function GlobalModelRegistry

sdk/cliproxy/model_registry.go:23–25  ·  view source on GitHub ↗

GlobalModelRegistry returns the shared registry instance.

()

Source from the content-addressed store, hash-verified

21
22// GlobalModelRegistry returns the shared registry instance.
23func GlobalModelRegistry() ModelRegistry {
24 return registry.GetGlobalRegistry()
25}
26
27// SetGlobalModelRegistryHook registers an optional hook on the shared global registry instance.
28func SetGlobalModelRegistryHook(hook ModelRegistryHook) {

Calls 1

GetGlobalRegistryFunction · 0.92