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

Method ClosePipeline

ai-provider/local/executor.go:153–161  ·  view source on GitHub ↗

ClosePipeline 关闭管道并移除

(model string, id string)

Source from the content-addressed store, hash-verified

151
152// ClosePipeline 关闭管道并移除
153func (e *AsyncExecutor) ClosePipeline(model string, id string) {
154 e.mu.Lock()
155 defer e.mu.Unlock()
156 mp, ok := e.pipelines[model]
157 if !ok {
158 return
159 }
160 mp.ClosePipeline(id)
161}
162
163// CloseModelPipeline 关闭当前模型所有管道
164func (e *AsyncExecutor) CloseModelPipeline(model string) {

Callers

nothing calls this directly

Calls 1

ClosePipelineMethod · 0.45

Tested by

no test coverage detected