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

Interface State

core/http/endpoints/openai/compactcoord/compactcoord.go:31–34  ·  view source on GitHub ↗

State is the sealed sum type of compaction states. Exhaustively: Idle | Running | Terminated.

Source from the content-addressed store, hash-verified

29// State is the sealed sum type of compaction states. Exhaustively:
30// Idle | Running | Terminated.
31type State interface {
32 isState()
33 String() string
34}
35
36// Idle: no compaction is running.
37type Idle struct{}

Callers 1

Implementers 15

Idlecore/http/endpoints/openai/turncoord/t
Speakingcore/http/endpoints/openai/turncoord/t
unknownStatecore/http/endpoints/openai/turncoord/t
Idlecore/http/endpoints/openai/respcoord/r
Activecore/http/endpoints/openai/respcoord/r
Terminatedcore/http/endpoints/openai/respcoord/r
Idlecore/http/endpoints/openai/compactcoor
Runningcore/http/endpoints/openai/compactcoor
Terminatedcore/http/endpoints/openai/compactcoor
unknownStatecore/http/endpoints/openai/compactcoor
Opencore/http/endpoints/openai/ttscoord/tt
Closingcore/http/endpoints/openai/ttscoord/tt

Calls

no outgoing calls

Tested by

no test coverage detected