> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Max Time Seconds • Rust AI Agent SDK

> max_time_seconds: Set maximum time in seconds.

# max\_time\_seconds

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ThinkingBudgetBuilder**](../classes/ThinkingBudgetBuilder) class in the [**thinking**](../modules/thinking) module.

Set maximum time in seconds.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def max_time_seconds(mut self, seconds: f64) -> Self
```

## Parameters

<ParamField query="seconds" type="f64" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>
