Skip to main content

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

str
required
No description available.

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 78