发布

  • 1.9.4 34ec40b171

    [OPIK-2787] [P SDK] GeneratorExit Error with LangGraph Integration (#3986)

    frostbyte_neo 发布于 2025-11-10 12:55:34 +00:00

    • [OPIK-2787] [P SDK] Add skip error callback functionality in OpikTracer for LangChain integration
    • Introduced skip_error_callback to allow selective skipping of error outputs during trace handling.
    • Updated OpikTracer to incorporate conditional error handling based on the callback's result.
    • Enhanced error processing logic to handle skipped errors with placeholder outputs.
    • Added integration test test_langchain_callback__skip_error_callback__error_output_skipped.
    • [OPIK-2787] [P SDK] Refine skip error logic and enhance placeholder output handling
    • Updated OpikTracer to improve error processing flow and conditional skipping logic using skip_error_callback.
    • Introduced explicit handling for placeholder outputs when errors are skipped.
    • Corrected typo in test prompt template for clarity.
    • [OPIK-2787] [P SDK] Update OpikTracer docstring format for initialization parameters
    • Revised and expanded OpikTracer constructor docstring to provide clearer descriptions for initialization parameters.
    • Removed duplicated docstring content for improved clarity and reduced redundancy.
    下载附件