Skip to content

Consistency detail view truncates responses at 500 chars #139

@shanevcantwell

Description

@shanevcantwell

Problem

_format_consistency_detail() in handlers.py truncates result.response to 500 characters with .... This hides patterns in structured JSON output that are visible in the fixed-width code block — especially useful for spotting drift causes.

The single-result detail view (_format_single_result) already shows full responses.

Fix

Remove the [:500] truncation from both the pass and fail branches of the consistency detail formatter.

Files

  • prompt_prix/tabs/battery/handlers.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions