(confirmation tools.ElicitationAction, agentName string)
| 572 | } |
| 573 | |
| 574 | func Authorization(confirmation tools.ElicitationAction, agentName string) Event { |
| 575 | return &AuthorizationEvent{ |
| 576 | Type: "authorization_event", |
| 577 | Confirmation: confirmation, |
| 578 | AgentContext: newAgentContext(agentName), |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | type MaxIterationsReachedEvent struct { |
| 583 | AgentContext |
no test coverage detected