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

# Should Deescalate • AI Agent SDK

> should_deescalate: Check if de-escalation is appropriate.

# should\_deescalate

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

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

Check if de-escalation is appropriate.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def should_deescalate(config: EscalationConfig) -> bool
```

## Parameters

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

### Returns

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

## Used By

* [`EscalationPipeline.execute_at_stage`](../functions/EscalationPipeline-execute_at_stage)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/escalation/types.py#L212">
  `praisonaiagents/escalation/types.py` at line 212
</Card>
