Has System Prompt • AI Agent SDK
has_system_prompt: Check if a system prompt is configured.
has_system_prompt
Method
</div>
This is a method of the PreparedTurnContext class in the turn_context module.
Check if a system prompt is configured.
Signature
def has_system_prompt() -> boolReturns
ResponseField
boolThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/runtime/turn_context.py at line 243