Config Validation Error • AI Agent SDK

ConfigValidationError: Raised when gateway config contains an unknown/misspelled key.

ConfigValidationError

Defined in the config module.

AI Agent

Raised when gateway config contains an unknown/misspelled key.

Carries the dotted `path to the offending section plus the offending keys and (when a near match exists) a suggestion so the error is actionable — e.g. channels.telegram.tokenn: unknown key (did you mean 'token'?)` — rather than the silent no-op a typo produces today (#5723).

Constructor

ParamField str

No description available.

ParamField List[str]

No description available.

ParamField Optional[str]

No description available.

Source

View on GitHub

praisonaiagents/gateway/config.py at line 53


Related Documentation