MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / SetModelPipeline

Method SetModelPipeline

ai-provider/local/executor.go:146–150  ·  view source on GitHub ↗
(model string, mp *modelPipeline)

Source from the content-addressed store, hash-verified

144}
145
146func (e *AsyncExecutor) SetModelPipeline(model string, mp *modelPipeline) {
147 e.mu.Lock()
148 defer e.mu.Unlock()
149 e.pipelines[model] = mp
150}
151
152// ClosePipeline 关闭管道并移除
153func (e *AsyncExecutor) ClosePipeline(model string, id string) {

Callers 1

PullModelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected