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

# Resolved Finish Reason • AI Agent SDK

> resolved_finish_reason: The finish reason to report for this turn.

# resolved\_finish\_reason

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

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

The finish reason to report for this turn.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def resolved_finish_reason() -> str
```

### Returns

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

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/model_harness/scripted.py#L131">
  `praisonaiagents/model_harness/scripted.py` at line 131
</Card>
