()
| 338 | |
| 339 | func (s *SubAgent) timeoutSeconds() int { |
| 340 | if s.TimeoutSeconds > 0 { |
| 341 | return s.TimeoutSeconds |
| 342 | } |
| 343 | return DefaultSubagentTimeoutSeconds |
| 344 | } |
| 345 | |
| 346 | func (s *SubAgent) contextStopResult(sessionState *SubAgentSessionState, currentText string, err error) SubAgentRequestResult { |
| 347 | if err == context.Canceled { |
| 348 | return SubAgentRequestResult{ |
no outgoing calls
no test coverage detected