mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
style(cli): use marker block
This commit is contained in:
@@ -237,9 +237,11 @@ export function Prompt(props: PromptProps) {
|
||||
const sessionID = props.sessionID
|
||||
const msg = lastUserMessage()
|
||||
if (!sessionID || !msg) return
|
||||
// kilocode_change start - skip compaction messages while syncing local agent/model
|
||||
const parts = sync.data.part[msg.id]
|
||||
if (!parts) return
|
||||
if (!KiloSessionTuiSync.model({ role: msg.role, parts })) return
|
||||
// kilocode_change end
|
||||
|
||||
const key = [sessionID, msg.id].join(":")
|
||||
if (key === syncedKey) return
|
||||
|
||||
Reference in New Issue
Block a user