Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

187 B
Raw Blame
import { type DetailTab } from "../constants/detailTabs";

export function resolveDetailTab(tab: DetailTab, tabs: readonly DetailTab[]) {
  return tabs.includes(tab) ? tab : "preview";
}