Skip to content

Commit 2af1895

Browse files
committed
feat: add Platform field to model detail Summary tab
Signed-off-by: Nick Mitchell <[email protected]>
1 parent d8560a2 commit 2af1895

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pdl-live-react/src/view/detail/kind/Model.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ import Group from "../Group"
22
import Result from "../../Result"
33

44
export default function ModelItems({
5-
block: { model, input, result, parser },
5+
block: { platform, model, input, result, parser },
66
}: {
77
block: import("../../../pdl_ast").LitellmModelBlock
88
}) {
99
return (
1010
<>
11+
{typeof platform === "string" && (
12+
<Group term="Platform" description={platform} />
13+
)}
1114
{typeof model === "string" && <Group term="Model" description={model} />}
1215
{typeof input === "string" && <Group term="Input" description={input} />}
1316
<Result

0 commit comments

Comments
 (0)