MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / timeoutSeconds

Method timeoutSeconds

agent/subagent.go:340–345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 4

subagentRunContextMethod · 0.95
finalizeTimedOutRunMethod · 0.95
partialTimeoutTextMethod · 0.95
wrapTimedOutResultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected