发布

  • [OPIK-5266] [SDK] fix: improve evaluation logging and suppress Anthropic Pydantic warnings (#5876)

    frostbyte_neo 发布于 2026-03-26 15:12:10 +00:00

    • [NA] [SDK] fix: improve evaluation logging and suppress Anthropic Pydantic warnings

    Add structured debug/error logging to evaluation engine and executor
    for better observability during task execution and scoring. Suppress
    harmless Pydantic serializer warnings from the Anthropic integration.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • Add comment about anthropic warnings

    • fix(anthropic): scope Pydantic warning suppression to model_dump() call site

    Move the Pydantic serializer warning filter from a global module-level
    call in opik_tracker.py to a scoped warnings.catch_warnings() context
    around the specific model_dump() call in messages_create_decorator.py.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • fix(lint): move LOGGER after imports to fix E402

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • Fix lint errors

    Co-authored-by: Claude Opus 4.6 noreply@anthropic.com

    下载附件