mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-10-20 14:37:20 +02:00
Mark generated execution prompts, populate deterministic user sections from actual human entries, preserve canonical ledger on overflow/transient restarts, fit long human entries under their formatted budget, and keep unchanged historical keys editable. Add real reduction-to-snapshot Cookie recovery and production entry-point regression tests.
12 lines
467 B
Go
12 lines
467 B
Go
package agent
|
|
|
|
// GeneratedContextTypeKey marks host-created execution templates, separately
|
|
// from Eino's own summary/skill transport metadata.
|
|
const GeneratedContextTypeKey = "_csai_generated_context_type"
|
|
const PlanExecuteExecutorContext = "plan_execute_executor"
|
|
const PlanExecuteReplannerContext = "plan_execute_replanner"
|
|
|
|
func IsGeneratedExecutionContext(kind string) bool {
|
|
return kind == PlanExecuteExecutorContext || kind == PlanExecuteReplannerContext
|
|
}
|