Skip to content

The hosted service does not write AI narratives

Type
https://pyeconomics.dev/problems/narrative-not-hosted
HTTP status
403
Exit code
6 (not permitted (a licence refusal))
Raised as
NarrativeHostedError

What it means

The hosted service never writes an AI narrative.

What to do

Run pyeconomics on your own machine with your own 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.