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

Function insertBeforeCurrentUserMessage

agent/loop.go:1471–1483  ·  view source on GitHub ↗
(state *AgentState, message map[string]any)

Source from the content-addressed store, hash-verified

1469 return nil
1470 case int:
1471 if v <= 0 {
1472 return nil
1473 }
1474 return &v
1475 case int64:
1476 if v <= 0 {
1477 return nil
1478 }
1479 budget := int(v)
1480 return &budget
1481 case bool:
1482 if !v {
1483 return nil
1484 }
1485 budget := 1
1486 return &budget

Callers 3

queryLoopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected