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

Struct Active

core/http/endpoints/openai/respcoord/respcoord.go:99–99  ·  view source on GitHub ↗

Active: exactly one response (ID) is in flight. The struct holds a single id, so "two active responses" is not representable.

Source from the content-addressed store, hash-verified

97// Active: exactly one response (ID) is in flight. The struct holds a single id,
98// so "two active responses" is not representable.
99type Active struct{ ID ResponseID }
100
101// Terminated: the session is torn down. Absorbing — no response can start from
102// here, so the M1 (connection) parent's teardown can guarantee no response

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected