MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / init

Function init

stores/ai/store.go:82–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func init() {
83 autowire.Auto[IProviderStore](func() reflect.Value {
84 return reflect.ValueOf(new(imlProviderStore))
85 })
86
87 autowire.Auto[ILogMetricsStore](func() reflect.Value {
88 return reflect.ValueOf(new(imlLogMetricsStore))
89 })
90
91 autowire.Auto[IBalanceStore](func() reflect.Value {
92 return reflect.ValueOf(new(imlBalanceStore))
93 })
94
95 autowire.Auto[ILocalModelStore](func() reflect.Value {
96 return reflect.ValueOf(new(imlLocalModelStore))
97 })
98
99 autowire.Auto[ILocalModelPackageStore](func() reflect.Value {
100 return reflect.ValueOf(new(imlLocalModelPackageStore))
101 })
102
103 autowire.Auto[IKeyStore](func() reflect.Value {
104 return reflect.ValueOf(new(imlKeyStore))
105 })
106
107 autowire.Auto[ILocalModelInstallStateStore](func() reflect.Value {
108 return reflect.ValueOf(new(imlLocalModelInstallStateStore))
109 })
110
111 autowire.Auto[ILocalModelCacheStore](func() reflect.Value {
112 return reflect.ValueOf(new(imlLocalModelCacheStore))
113 })
114
115 autowire.Auto[IProviderModelStore](func() reflect.Value {
116 return reflect.ValueOf(new(imlProviderModelStore))
117 })
118}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected