Skip to content

fix(training): quality gate passes whitespace-only and tool-use-only turns #3178

@forkwright

Description

@forkwright

Quality gate rejects empty responses and error/max_tokens_exceeded stop reasons but does not reject whitespace-only responses, tool-use-only turns (no actual content), or error text with a non-error stop reason. Also stringly-typed stop reason comparison -- eidos has enums for everything else. Tighten the gate and use enum variants.

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