Skip to content

fix: parse stringified options list in PotentialLeversTask validator - #133

Closed
82deutschmark wants to merge 1 commit into
PlanExeOrg:mainfrom
VoynichLabs:fix/potential-levers-options-validator
Closed

fix: parse stringified options list in PotentialLeversTask validator#133
82deutschmark wants to merge 1 commit into
PlanExeOrg:mainfrom
VoynichLabs:fix/potential-levers-options-validator

Conversation

@82deutschmark

Copy link
Copy Markdown
Collaborator

Adds a pydantic validator to handle cases where the LLM returns options as a stringified JSON list instead of a proper list, preventing HTTP 400/validation failures.

@82deutschmark

Copy link
Copy Markdown
CollaboratorAuthor

Closing — superseded by PR #142 which is already merged. #142 contains the same options field_validator fix. This PR is redundant.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@82deutschmark