发布

  • [OPIK-3401] [P SDK] Langgraph integration - implement easier to use API (#4475)

    frostbyte_neo 发布于 2025-12-17 11:30:03 +00:00

    • Revision 6: Refactor all tests to use EXPECTED_TRACE assertions and improve code quality
    • Updated all test_track_langgraph tests to use consistent EXPECTED_TRACE pattern
    • Improved langgraph_tracer_injector with better type hints and module imports
    • Moved graph handling logic to OpikTracer.set_graph() method
    • Added automatic graph visualization extraction in track_langgraph
    • Removed redundant comments and business logic assertions from tests
    • Updated documentation with new API patterns
    • Added RST reference documentation for track_langgraph and extract_current_langgraph_span_data
    • Fix lint errors

    • update the doc to use new track API for langgraph

    • Revision 7: Update design docs and user docs for track_langgraph

    • Updated INTEGRATIONS.md with comprehensive LangGraph support documentation
    • Added track_langgraph function documentation with usage patterns
    • Added implementation details for langgraph_tracer_injector.py and async context bridge
    • Updated all LangGraph integration examples to use track_langgraph by default
    • Documented OpikTracer.set_graph() method for graph visualization
    • Maintained consistency with existing integration documentation patterns
    • Update integrations.md
    下载附件