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

Method

> This is a method of the [**ScriptedReply**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/ScriptedReply.md) class in the [**scripted**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/scripted.md) 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

**Returns** `str`

The result of the operation.

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/model_harness/scripted.py#L131)**
>
> `praisonaiagents/model_harness/scripted.py` at line 131


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.