Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Sep 27, 2024
1 parent edc3bcb commit ade78c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion app/src/components/code/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from "./JSONEditor";
export * from "./JSONBlock";
export * from "./PythonBlock";
export * from "./HandlebarsEditor";
export * from "./PythonBlockWithCopy";
export * from "./CodeWrap";
export * from "./TypeScriptBlock";
Expand Down
7 changes: 1 addition & 6 deletions app/src/pages/playground/PlaygroundTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Button, Card, Icon, Icons } from "@arizeai/components";
import { usePlaygroundContext } from "@phoenix/contexts/PlaygroundContext";

import { NUM_MAX_PLAYGROUND_INSTANCES } from "./constants";
import { PlaygroundChatTemplate } from "./PlaygroundChatTemplate";
import { PlaygroundInstanceProps } from "./types";

interface PlaygroundTemplateProps extends PlaygroundInstanceProps {}
Expand Down Expand Up @@ -33,11 +32,7 @@ export function PlaygroundTemplate(props: PlaygroundTemplateProps) {
)
}
>
{template.__type === "chat" ? (
<PlaygroundChatTemplate {...props} />
) : (
"Completion Template"
)}
{template.__type === "chat" ? "Chat Template" : "Completion Template"}
</Card>
);
}
Expand Down

0 comments on commit ade78c1

Please sign in to comment.