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

Method engineConfig

ui/runtime.go:546–561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

544 r.Frame.AnimationFrame++
545 r.markDirty()
546}
547
548func (r *UiRuntime) finishSubmitFrame() {
549 r.Frame.InputEnabled = true
550 r.Frame.InputMode = "normal"
551 r.Frame.InputPlaceholder = "请输入消息并回车。"
552 r.markDirty()
553}
554
555func (r *UiRuntime) refreshContextWindowFrame() {
556 cfg, ok := r.engineConfig()
557 if !ok {
558 return
559 }
560 state := r.latestState()
561 snapshot := BuildContextWindowSnapshot(cfg, state)
562 r.Frame.ModelName = snapshot.ModelName
563 r.Frame.ContextUsedTokens = snapshot.UsedTokens
564 r.Frame.ContextLimitTokens = snapshot.LimitTokens

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected