(seconds int)
| 222 | } |
| 223 | |
| 224 | func validateAgentTimeoutSeconds(seconds int) (int, string) { |
| 225 | if seconds <= 0 { |
| 226 | return 0, "timeout_seconds must be greater than 0." |
| 227 | } |
| 228 | return seconds, "" |
| 229 | } |
| 230 | |
| 231 | func derefAgentInput(input any) AgentInput { |
| 232 | switch v := input.(type) { |
no outgoing calls
no test coverage detected