MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / AutoCompactResult

Struct AutoCompactResult

agentContext/auto.go:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37type LLMClientFunc func(context.Context, []map[string]any, string) (string, error)
38
39type AutoCompactResult struct {
40 Summary string `json:"summary"`
41 OriginalTokens int `json:"original_tokens"`
42 SummaryTokens int `json:"summary_tokens"`
43 Success bool `json:"success"`
44 Error string `json:"error"`
45}
46
47func GetString(m map[string]any, key string, defaultStr any) any {
48 if m == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected