diff --git a/src/components/chat/message-input.tsx b/src/components/chat/message-input.tsx index a2104a5..2cdf30d 100644 --- a/src/components/chat/message-input.tsx +++ b/src/components/chat/message-input.tsx @@ -1107,15 +1107,6 @@ export function MessageInput({ const hasImageAttachments = imageAttachments.length > 0 const hasResourceAttachments = resourceAttachments.length > 0 - const topPaddingClass = - hasImageAttachments && hasResourceAttachments - ? "pt-[6.25rem]" - : hasImageAttachments - ? "pt-[4.5rem]" - : hasResourceAttachments - ? "pt-10" - : "pt-3" - const bottomPaddingClass = "pb-10" const showDragActive = isDragActive && !disabled const selectorItems = ( @@ -1144,6 +1135,88 @@ export function MessageInput({ ) + const actionButtons = isEditingQueueItem ? ( +
+ + +
+ ) : isPrompting && onCancel ? ( +
+ + +
+ ) : onForkSend ? ( +
+ + + + + + + + + {t("forkAndSend")} + + + +
+ ) : ( + + ) + return (
)} -