发布

  • [OPIK-4972] [BE] feat: update demo data to only create Opik Demo Agent Observability project (#5861)

    frostbyte_neo 发布于 2026-04-08 14:19:11 +00:00

    • [OPIK-4972] [FE] feat: update demo data to only create Opik Demo Agent Observability project
    • Remove demo evaluation, optimizer, and playground project creation
    • Clean up unused imports and DemoDataContext fields in demo_data_generator.py
    • Update DEMO_PROJECT_NAME constant to match the single demo project name

    Implements OPIK-4972: [M3] Frontend: Update demo data with project-scoped, environment-tagged traces

    • refactor(demo-data): remove unused experiment/dataset/optimizer data from demo_data.py

    • Update shared.ts

    • [OPIK-4972] [SDK] Upgrade opik to 1.10.56 in sandbox and python-backend

    • Bump opik to 1.10.56 in opik-python-backend/requirements.txt
    • Upgrade all dependencies in opik-sandbox-executor-python/requirements.txt
      to exact versions resolved from opik==1.10.56 dependency graph
      (notable: litellm 1.83.0, openai 2.30.0, python-dotenv 1.2.2)
    • Add ENV LITELLM_MODE=PRODUCTION to sandbox Dockerfile to prevent litellm
      from calling load_dotenv() at import time; litellm defaults LITELLM_MODE
      to "DEV" and calls load_dotenv() in that mode, whose find_dotenv() uses
      frame inspection (sys._getframe) that fails in a .pyc-only context
    • [OPIK-4972] [SDK] Sync opik-python-backend dependency versions with sandbox

    Update pinned versions to match those resolved from opik==1.10.56:

    • certifi: 2024.12.14 -> 2026.2.25
    • charset-normalizer: 3.4.1 -> 3.4.6
    • click: 8.1.8 -> 8.3.1
    • idna: 3.10 -> 3.11
    • MarkupSafe: 3.0.2 -> 3.0.3
    • packaging: 24.2 -> 26.0
    • requests: 2.32.3 -> 2.33.1
    • uuid6: 2024.7.10 -> 2025.0.1
    • [OPIK-4972] [SDK] Fix test_success assertions for opik 1.10.56 ScoreResult schema

    opik 1.10.56 added a category_name field to ScoreResult. Update the
    expected dicts in test_success parametrize to include category_name: None.

    • [OPIK-4972] [SDK] Fix test_success to handle category_name absent or None

    opik 1.10.56 added category_name to ScoreResult but the Docker image in CI
    may use an older opik version without it. Assert category_name is None when
    present and compare remaining fields, so both executor variants pass.

    下载附件