Is Config Current • AI Agent SDK

is_config_current: Return whether “raw“ already carries the current “config_version“.

is_config_current

Function

</div>

This function is defined in the config module.

Return whether `raw already carries the current config_version`.

A malformed stamp (non-integer / boolean) is not “current” — it raises :class:ConfigVersionError so operators fix it rather than having it silently coerced (`True == 1`).

Signature

python
def is_config_current(raw: Mapping[str, Any]) -> bool

Parameters

ParamField Mapping[str, Any]

No description available.

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/config.py at line 257


Related Documentation