# Function getTimeoutForTaskAuto

CLI Adapters exports - CLI integration with defensive parsing Split from index.ts for file size compliance (Issue #285)

- getTimeoutForTaskAuto(cli: string, taskDescription: string): number

  Get timeout with automatic complexity estimation. Uses adaptive timeout from outcome history when sufficient data exists (#1534).

  #### Parameters

  - cli: string
  - taskDescription: string

  #### Returns number

  - Defined in packages/nexus-agents/src/cli-adapters/cli-timeout-profiles.ts:49