发布

  • [OPIK-4323] [SDK] Add annotation queue support for TypeScript SDK (#5112)

    frostbyte_neo 发布于 2026-02-10 14:14:51 +00:00

    • [OPIK-4215] [SDK] Add annotation queue support for TypeScript SDK

    Co-authored-by: Cursor cursoragent@cursor.com

    • [OPIK-4215] [SDK] Refactor annotation queue into separate classes for traces and threads

    Co-authored-by: Cursor cursoragent@cursor.com

    • Enhance integration and unit tests for annotation queues by adding logger error assertions. Ensure logger.error is not called during successful test cases across multiple test files.

    • Refactor annotation queue retrieval methods in OpikClient to use a generic fetch function. This change improves code reusability and reduces duplication for getting traces and threads annotation queues by their IDs.

    • Enhance documentation for annotation queues by adding TypeScript examples alongside existing Python examples.

    • Fix error messages in AnnotationQueue to use singular terms for trace and thread queues. Update related unit tests to reflect these changes.

    • fix docs items count

    • refactor delete methods

    • fix merge issues

    • Refactor annotation queue options in OpikClient to use a dedicated interface, improving code clarity and maintainability.

    • use better api method for project retrieval

    • fix test

    • fix tests

    • Update annotation queue documentation and tests to utilize searchThreads functionality in TypeScript SDK


    Co-authored-by: Cursor cursoragent@cursor.com

    下载附件