Canonical Preset Key • AI Agent SDK

canonical_preset_key: The single spelling rule for preset names. Validation and resolution must

Next

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

python
def canonical_preset_key(value: str) -> str

Parameters

ParamField str

No description available.

Returns

ResponseField str

The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/config/parse_utils.py at line 198