发布

  • [OPIK-5294] [FE][BE] feat: load sidebar from pod URL, remove CDN config endpoint (#5932)

    frostbyte_neo 发布于 2026-03-29 20:01:33 +00:00

    • [OPIK-5294] [FE][BE] feat: load sidebar from pod URL, remove CDN config endpoint

    Frontend now fetches the assistant sidebar manifest directly from the
    pod URL ({podUrl}/console/manifest.json) instead of from CDN via the
    backend config endpoint. The /opik/ollie/compute endpoint already
    returns enabled:boolean, making the separate config endpoint redundant.

    Frontend:

    • Refactor useAssistantMeta() to accept backendUrl and build manifest
      URL from pod
    • Remove useAssistantSidebarConfig hook and all references
    • Simplify PageLayout sidebar gating (plugin existence = comet mode)

    Backend:

    • Remove /v1/private/assistant-sidebars/config endpoint
    • Remove AssistantSidebarsResource, AssistantSidebarConfig,
      AssistantSidebarConfigResponse
    • Remove assistantSidebarEnabled toggle from ServiceTogglesConfig
    • Clean up config.yml, config-test.yml, and helm values

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    • fix: remove extra blank line in OpikConfiguration (spotless)

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    • fix: prettier formatting in useAssistantMeta signature

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    • fix: regenerate helm docs after values.yaml cleanup

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com


    Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件