HumanSignal / Adala

Adala: Autonomous DAta (Labeling) Agent framework
https://humansignal.github.io/Adala/
Apache License 2.0
911 stars 72 forks source link

fix: DIA-1334: Catch and report pydantic ValidationError #184

Closed hakan458 closed 3 weeks ago

hakan458 commented 3 weeks ago
  1. Specifying to instructor/tenacity to not retry on pydantic ValidationError
  2. When this case is hit, raising a custom exception to return to LSE - ContrainedGenerationError
robot-ci-heartex commented 3 weeks ago

Commit https://github.com/HumanSignal/infra/commit/afbddd94456f6d916e860c6e1e4d9b9e66559fe2 is created.

codecov-commenter commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.

Project coverage is 59.03%. Comparing base (ea653ae) to head (ab76a75). Report is 4 commits behind head on master.

Files Patch % Lines
adala/runtimes/_litellm.py 55.55% 4 Missing :warning:
adala/utils/exceptions.py 50.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #184 +/- ## ========================================== - Coverage 59.34% 59.03% -0.31% ========================================== Files 43 44 +1 Lines 1894 2014 +120 ========================================== + Hits 1124 1189 +65 - Misses 770 825 +55 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

robot-ci-heartex commented 3 weeks ago

Commit https://github.com/HumanSignal/infra/commit/c9ecde66ac1fd701bc4bbaa126c151ba4f8a13c0 is created.

robot-ci-heartex commented 3 weeks ago

Commit https://github.com/HumanSignal/infra/commit/122a0bcf1f963aaca329f335ca9040986e6212f6 is created.

robot-ci-heartex commented 3 weeks ago

Commit https://github.com/HumanSignal/infra/commit/34c9a2923d79c779a5dfbbc406d683d3018c13ff is created.