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

Function NewCacheEdit

agentContext/micro.go:29–38  ·  view source on GitHub ↗
(toolUseID string, action *string)

Source from the content-addressed store, hash-verified

27}
28
29func NewCacheEdit(toolUseID string, action *string) CacheEdit {
30 if action == nil {
31 defaultAction := "delete"
32 action = &defaultAction
33 }
34 return CacheEdit{
35 ToolUseID: toolUseID,
36 Action: action,
37 }
38}
39
40type ToolUseResultBlock struct {
41 MessageIndex int

Calls

no outgoing calls