Response
@@ -86,39 +113,75 @@ export const MessagePanel = ({
'max-h-[400px]': !isShowingMore,
'max-h-full': isShowingMore,
})}>
- {hasContent && (
-
- {_.isString(message.content) ? (
-
- ) : (
- message.content!.map((p, i) => (
-
- ))
+ {isPlayground && editorHeight ? (
+
+ ) : (
+ <>
+ {hasContent && (
+
+ {_.isString(message.content) ? (
+
+ ) : (
+ message.content!.map((p, i) => (
+
+ ))
+ )}
+
)}
-
- )}
- {hasToolCalls && (
-
-
-
+ {hasToolCalls && (
+
+
+
+ )}
+ >
)}
- {isOverflowing && (
+
+ {isOverflowing && !editorHeight && (
)}
+
+ {/* Playground buttons (retry, edit, delete) */}
+ {isPlayground && isHovering && !editorHeight && (
+