System Prompt • AI Agent SDK

system_prompt: Content of the first system message, or “None“ if there was none.

system_prompt

Method

</div>

This is a method of the RecordedRequest class in the scripted module.

Content of the first system message, or `None` if there was none.

Signature

python
def system_prompt() -> Optional[str]

Returns

ResponseField Optional[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 159