mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
wire page == "evals" routing in page.tsx to EvalsCatalog component
This commit is contained in:
parent
cf23b2f99a
commit
0a4a453a50
1 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import LoadingScreen from "@/components/common_components/LoadingScreen";
|
|||
import { CostTrackingSettings } from "@/components/CostTrackingSettings";
|
||||
import GeneralSettings from "@/components/general_settings";
|
||||
import GuardrailsMonitorView from "@/components/GuardrailsMonitor/GuardrailsMonitorView";
|
||||
import EvalsCatalog from "@/components/evals/EvalsCatalog";
|
||||
import GuardrailsPanel from "@/components/guardrails";
|
||||
import PoliciesPanel from "@/components/policies";
|
||||
import { Team } from "@/components/key_team_helpers/key_list";
|
||||
|
|
@ -558,6 +559,12 @@ function CreateKeyPageContent() {
|
|||
<Settings userID={userID} userRole={userRole} accessToken={accessToken} premiumUser={premiumUser} />
|
||||
) : page == "budgets" ? (
|
||||
<BudgetPanel accessToken={accessToken} />
|
||||
) : page == "evals" ? (
|
||||
<EvalsCatalog
|
||||
accessToken={accessToken}
|
||||
userRole={userRole}
|
||||
availableModels={modelData?.data?.map((m: any) => m.model_name) ?? []}
|
||||
/>
|
||||
) : page == "guardrails" ? (
|
||||
<GuardrailsPanel accessToken={accessToken} userRole={userRole} />
|
||||
) : page == "policies" ? (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue