发布

  • [OPIK-5152] [SDK] feat: promote search_threads to Opik client API (#5739)

    frostbyte_neo 发布于 2026-03-20 11:36:51 +00:00

    • [OPIK-5152] [SDK] feat: promote search_threads to Opik client API

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

    • test: update e2e tests to use Opik client threads API directly

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

    • Fix lint errors

    • fix: use module-style import for TraceThread and improve filter docs

    • Address PR review: use trace_thread.TraceThread instead of bare import
    • Extract OQL filter reference into shared section for traces/spans/threads
    • Simplify search_threads docstring to reference search_traces for full filter details

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

    • fix: correct OQL filter columns per entity type in docs and docstrings

    The previous docstrings and docs incorrectly listed trace columns
    (name, input, output, metadata, usage.*, model, provider, etc.) as
    available for thread filtering. Threads actually support a narrower
    set: id, first_message, last_message, status, duration,
    number_of_messages, feedback_scores, tags, and date fields.

    Split the shared OQL reference table into per-entity tables (trace,
    span, thread) so users see only the columns that actually work.

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

    • fix: use single backticks in docstrings for consistency

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


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

    下载附件