mirror of
http://100.103.83.12:3003/fegger/pv-agent.git
synced 2026-09-17 16:06:23 +00:00
feat(agent): add odoo review mode with plausibility verdict
This commit is contained in:
@@ -99,6 +99,10 @@ class Config:
|
||||
audit_stdout: bool = False
|
||||
audit_retention_days: int = 30
|
||||
|
||||
# M4.2: Odoo-Review-Modus (schema-gebundener Kontext, Plausibilitaets-Verdict).
|
||||
# Feature-Flag: erst mit Odoo-Freigabe aktivieren; default bleibt knowledge-only.
|
||||
review_mode: bool = False
|
||||
|
||||
@classmethod
|
||||
def from_env(cls) -> Config:
|
||||
d = cls()
|
||||
@@ -140,4 +144,5 @@ class Config:
|
||||
audit_retention_days=_env_int(
|
||||
"PV_AUDIT_RETENTION_DAYS", d.audit_retention_days
|
||||
),
|
||||
review_mode=_env_bool("PV_REVIEW_MODE", d.review_mode),
|
||||
)
|
||||
Reference in New Issue
Block a user