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

Method FabricateNonStream

internal/toolinjection/format.go:17–17  ·  view source on GitHub ↗

--- Fabrication: build complete fake responses ---

(rule *config.ToolCallInjectionRule, model string)

Source from the content-addressed store, hash-verified

15 // --- Fabrication: build complete fake responses ---
16
17 FabricateNonStream(rule *config.ToolCallInjectionRule, model string) []byte
18 FabricateStream(rule *config.ToolCallInjectionRule, model string) [][]byte
19
20 // --- Injection: append tool_call to real responses ---

Callers 1

ApplyNonStreamInjectionFunction · 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