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

Method GetModelPipeline

ai-provider/local/executor.go:138–144  ·  view source on GitHub ↗
(model string)

Source from the content-addressed store, hash-verified

136}
137
138func (e *AsyncExecutor) GetModelPipeline(model string) (*modelPipeline, bool) {
139 e.mu.Lock()
140 defer e.mu.Unlock()
141
142 mp, ok := e.pipelines[model]
143 return mp, ok
144}
145
146func (e *AsyncExecutor) SetModelPipeline(model string, mp *modelPipeline) {
147 e.mu.Lock()

Callers 2

PullModelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected