-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesign of Manual Evaluations (#134)
* Pagination bug * Bug fix * Schema changes for evals * Fix APIs for evals * Minor bugfixes * Bugfix * Evaluation changes * Manual eval simplification * Minor fix * Manual evaluations UX changes * Chart title fix * Disable experiments * fix
- Loading branch information
1 parent
29eff4e
commit f520430
Showing
33 changed files
with
1,607 additions
and
2,109 deletions.
There are no files selected for viewing
575 changes: 0 additions & 575 deletions
575
app/(protected)/project/[project_id]/evaluate/[test_id]/page.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
app/(protected)/project/[project_id]/experiments/page-client.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Experiments() { | ||
return <></>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { authOptions } from "@/lib/auth/options"; | ||
import { Metadata } from "next"; | ||
import { getServerSession } from "next-auth"; | ||
import { redirect } from "next/navigation"; | ||
import Experiments from "./page-client"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Langtrace | Experiments", | ||
description: "View and manage all your experiments in one place.", | ||
}; | ||
|
||
export default async function Page() { | ||
const session = await getServerSession(authOptions); | ||
if (!session || !session.user) { | ||
redirect("/login"); | ||
} | ||
const email = session?.user?.email as string; | ||
|
||
return ( | ||
<> | ||
<Experiments /> | ||
</> | ||
); | ||
} |
Oops, something went wrong.