Legacy Config Rule • AI Agent SDK

LegacyConfigRule: A single declarative config-migration rule.

LegacyConfigRule

Defined in the config module.

AI Agent

A single declarative config-migration rule.

`detect returns True when the (old) shape this rule fixes is present in the raw config mapping; fix returns the mutated mapping moving it toward the current version; reason is an operator-facing description rendered by gateway doctor --fix`. Rules are pure functions of the raw mapping so the same set can be reasoned about, tested, and applied identically everywhere.

Properties

ResponseField Callable

No description available.

ResponseField Callable

No description available.

ResponseField str

No description available.

Source

View on GitHub

praisonaiagents/gateway/config.py at line 170


Related Documentation