MCPcopy
hub / github.com/mudler/LocalAI / MITMServer

Method MITMServer

core/application/application.go:382–382  ·  view source on GitHub ↗

MITMServer returns the running MITM proxy or nil.

()

Source from the content-addressed store, hash-verified

380
381// MITMServer returns the running MITM proxy or nil.
382func (a *Application) MITMServer() *mitm.Server { return a.mitmServer.Load() }
383
384// MITMHostConflicts returns a snapshot of host→[]model-name pairs that
385// are claimed by 2+ model configs. Empty when the 1-to-1 invariant

Callers 2

buildMITMStatusFunction · 0.80
settings_test.goFile · 0.80

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected