Skip to main content

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

Callable
No description available.
Callable
No description available.
str
No description available.

Source

View on GitHub

praisonaiagents/gateway/config.py at line 50

Configuration Overview

Agent Config