MCPcopy
hub / github.com/mudler/LocalAI / node_header_concurrency_test.go

File node_header_concurrency_test.go

core/http/middleware/node_header_concurrency_test.go:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package middleware
2
3// Regression coverage for the multi-replica X-LocalAI-Node attribution
4// bug fixed by this PR.

Callers

nothing calls this directly

Calls 10

StampFunction · 0.92
ExposeNodeHeaderFunction · 0.85
mwFunction · 0.85
AddMethod · 0.80
HeaderMethod · 0.80
ContextMethod · 0.65
RequestMethod · 0.65
StringMethod · 0.65
GetMethod · 0.65
ItFunction · 0.50

Tested by

no test coverage detected