Skip to content

链路追踪中 查看链路报错 #23

@ihhhhhooo

Description

@ihhhhhooo

需要把RagTraceDetailPage.tsx的
const getStatusColors = (status?: string | null) => { const normalized = normalizeStatus(status) as StatusType | null; return STATUS_COLORS[normalized || "default"]; };

改为

const getStatusColors = (status?: string | null) => { const normalized = normalizeStatus(status); if (normalized === "success" || normalized === "failed" || normalized === "running") { return STATUS_COLORS[normalized]; } return STATUS_COLORS.default; };

因为STATUS_COLORS没有对应的键 返回undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions