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

Function newModelStreamBridge

internal/pluginhost/model_stream_bridge.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func newModelStreamBridge() *modelStreamBridge {
26 return &modelStreamBridge{streams: make(map[string]modelStreamEntry)}
27}
28
29func (b *modelStreamBridge) open(ownerCallbackID string, chunks <-chan handlers.ModelExecutionChunk, cancel context.CancelFunc) string {
30 if b == nil || chunks == nil {

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected