Script Exhausted • AI Agent SDK

ScriptExhausted: Raised when an agent asks a :class:`ScriptedModel` for an unscripted reply.

ScriptExhausted

Defined in the scripted module.

AI Agent

Raised when an agent asks a :class:ScriptedModel for an unscripted reply.

Usually means the script is one reply short: after a tool call the agent comes back for a follow-up answer.

Attributes: model: The double’s model id. request_index: 1-based index of the request that had no scripted reply. scripted: How many replies the script held.

Constructor

ParamField str

No description available.

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 78