+
{choices.map((c, index) => (
-
-
+
+
+ Trial {index + 1}
+
{index === selectedChoiceIndex ? (
-
+
+
+
+ Response selected
+
+
) : (
)}
@@ -95,12 +128,11 @@ export const ChoicesDrawer = ({
choice={c}
isStructuredOutput={isStructuredOutput}
choiceIndex={index}
- isNested
/>
))}
-
+
);
};
diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/ChoicesViewCarousel.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/ChoicesViewCarousel.tsx
index 3addbdded819..0612d7d8096f 100644
--- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/ChoicesViewCarousel.tsx
+++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/ChoicesViewCarousel.tsx
@@ -69,7 +69,7 @@ export const ChoicesViewCarousel = ({
icon="visible"
onClick={() => setIsDrawerOpen(true)}
tooltip="View all choices">
- Review
+ View trials
}
diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/MessagePanel.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/MessagePanel.tsx
index 8cec95707fa7..560585fd10da 100644
--- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/MessagePanel.tsx
+++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ChatView/MessagePanel.tsx
@@ -122,8 +122,10 @@ export const MessagePanel = ({
{messageHeader}
{isPlayground && editorHeight ? (
@@ -167,7 +169,7 @@ export const MessagePanel = ({
)}
- {isOverflowing && !editorHeight && (
+ {isOverflowing && !hasToolCalls && !editorHeight && (
{
return (
+ className={classNames('flex w-full items-center justify-center', {
+ 'pt-[4px]': isShowingMore,
+ [`absolute z-[1] mt-[-32px] rounded-b-xl bg-gradient-to-t from-70% pb-[4px] pt-[16px] ${
+ isUser ? 'from-[#f4fbe8]' : 'from-white'
+ } to-transparent`]: !isShowingMore,
+ })}>