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

Method appendTranscriptEntry

ui/runtime.go:573–587  ·  view source on GitHub ↗
(kind, text string)

Source from the content-addressed store, hash-verified

571 return config.Config{}, false
572 }
573 return engine.Config, true
574 case *agent.CoreExecutionEngine:
575 if engine == nil {
576 return config.Config{}, false
577 }
578 return engine.Config, true
579 default:
580 return config.Config{}, false
581 }
582}
583
584func (r *UiRuntime) latestState() *agent.AgentState {
585 if queryEngine, ok := r.Engine.(*agent.QueryEngine); ok && queryEngine != nil && queryEngine.CoreEngine != nil && queryEngine.CoreEngine.LastState != nil {
586 return queryEngine.CoreEngine.LastState
587 }
588 if coreEngine, ok := r.Engine.(*agent.CoreExecutionEngine); ok && coreEngine != nil && coreEngine.LastState != nil {
589 return coreEngine.LastState
590 }

Callers 2

RunSubmitMessageMethod · 0.95
ApplyUIEventMethod · 0.95

Calls 1

stringFromAnyFunction · 0.70

Tested by

no test coverage detected