Canonical Preset Key • AI Agent SDK
canonical_preset_key: The single spelling rule for preset names. Validation and resolution must
canonical_preset_key
Function
</div>
This function is defined in the parse_utils module.
The single spelling rule for preset names. Validation and resolution must not disagree about what counts as the same preset, so both go through here.
Matching is case-insensitive, ignores surrounding whitespace, and treats `-/_` as interchangeable.
Signature
def canonical_preset_key(value: str) -> strParameters
ParamField
strNo description available.
Returns
ResponseField
strThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/config/parse_utils.py at line 198