> ## 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.

# Remove System Messages • Rust AI Agent SDK

> remove_system_messages: Remove all system messages

# remove\_system\_messages

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

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

Remove all system messages

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def remove_system_messages(mut data: HandoffInputData) -> HandoffInputData
```

### Returns

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