Skip to content

[Content Planner] limit description in the get_suggestions response to 1000 characters #23446

Description

@pls78

In the get_outline route we enforce a 1,000 characters limit for the description parameter (see here).
This parameter comes from the previous get_suggestions call, where we don't check its length to be < 1000.
We must truncate it to 1000 characters (fix here and arguably here, but please check).

See this Slack thread for more context.

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