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

Method latestState

ui/runtime.go:563–571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

561 snapshot := BuildContextWindowSnapshot(cfg, state)
562 r.Frame.ModelName = snapshot.ModelName
563 r.Frame.ContextUsedTokens = snapshot.UsedTokens
564 r.Frame.ContextLimitTokens = snapshot.LimitTokens
565}
566
567func (r *UiRuntime) engineConfig() (config.Config, bool) {
568 switch engine := r.Engine.(type) {
569 case *agent.QueryEngine:
570 if engine == nil {
571 return config.Config{}, false
572 }
573 return engine.Config, true
574 case *agent.CoreExecutionEngine:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected