The AI narrative is turned off
- Type
https://pyeconomics.dev/problems/narrative-disabled- HTTP status
- 403
- Exit code
- 6 (not permitted (a licence refusal))
- Raised as
NarrativeDisabledError
What it means
The optional AI narrative is off, as it is by default.
What to do
Turn it on with ai_enabled = true in pyeconomics.toml, or PYECONOMICS_AI_ENABLED=1, and set the AI provider's key.
Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.