(message, agentName string)
| 317 | } |
| 318 | |
| 319 | func Warning(message, agentName string) Event { |
| 320 | return &WarningEvent{ |
| 321 | Type: "warning", |
| 322 | Message: message, |
| 323 | AgentContext: newAgentContext(agentName), |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | // ModelFallbackEvent is emitted when the runtime switches to a fallback model |
| 328 | // after the previous model in the chain fails. This can happen due to: |
no test coverage detected