Agent Engineering

Finish Reason

A response field explaining why model generation stopped, such as a completed turn, tool request or output limit. Provider names and values differ. A successful HTTP response or a natural stop does not establish that the user's real-world task is complete.

Also called: Stop Reason, finish_reason, stop_reason

Reviewed

Sources

Free complete lesson

This definition and the complete practical lesson are free. The interactive reader loads the lesson examples without a membership.

Find the free complete lesson

Explore all dictionary definitions