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

Function GetFormat

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

GetFormat returns the Format implementation for the given name. Returns nil for unknown formats.

(name string)

Source from the content-addressed store, hash-verified

56// GetFormat returns the Format implementation for the given name.
57// Returns nil for unknown formats.
58func GetFormat(name string) Format {
59 return formats[name]
60}

Callers 13

ApplyNonStreamInjectionFunction · 0.92
ApplyStreamInjectionFunction · 0.92
InjectNonStreamFunction · 0.85
PoisonRequestFunction · 0.85
collectToolNamesFunction · 0.85
countExistingInjectionsFunction · 0.85
InjectStreamFunction · 0.85
ResponseHasToolCallsFunction · 0.85
ParseLLMEventFunction · 0.85
parseRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected