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

Method InjectStream

internal/toolinjection/format.go:23–23  ·  view source on GitHub ↗
(dataChan <-chan []byte, rule *config.ToolCallInjectionRule, model string)

Source from the content-addressed store, hash-verified

21
22 InjectNonStream(resp []byte, rule *config.ToolCallInjectionRule) []byte
23 InjectStream(dataChan <-chan []byte, rule *config.ToolCallInjectionRule, model string) <-chan []byte
24
25 // --- Stripping: remove injected content from request history ---
26

Callers 2

InjectStreamFunction · 0.65
ApplyStreamInjectionFunction · 0.65

Implementers 3

responsesFormatinternal/toolinjection/format_response
openaiFormatinternal/toolinjection/format_openai.g
claudeFormatinternal/toolinjection/format_claude.g

Calls

no outgoing calls

Tested by

no test coverage detected