-
[OPIK-2787] [P SDK] GeneratorExit Error with LangGraph Integration (#3986)
发布于
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_callbackto allow selective skipping of error outputs during trace handling. - Updated
OpikTracerto 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
OpikTracerto improve error processing flow and conditional skipping logic usingskip_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
OpikTracerdocstring format for initialization parameters
- Revised and expanded
OpikTracerconstructor docstring to provide clearer descriptions for initialization parameters. - Removed duplicated docstring content for improved clarity and reduced redundancy.
下载附件