Skip to content

Degraded summarize returns {} with no degraded_reason #46

Description

@jeremyandrews

On a degraded summarize, scolta-php returns a payload carrying degraded: true and a degraded_reason ("ai_unconfigured" or "ai_error"). scolta-python returns {} with no degraded_reason, and Django relays that verbatim, so downstream clients cannot tell why the summary degraded.

Fix: return the same degraded envelope shape as scolta-php, including degraded_reason.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions