newAgentContext creates a new AgentContext with the current timestamp.
(agentName string)
| 33 | |
| 34 | // newAgentContext creates a new AgentContext with the current timestamp. |
| 35 | func newAgentContext(agentName string) AgentContext { |
| 36 | return AgentContext{AgentName: agentName, Timestamp: time.Now()} |
| 37 | } |
| 38 | |
| 39 | // UserMessageEvent is sent when a user message is received |
| 40 | type UserMessageEvent struct { |