Unverified 提交 e74bca64 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Allow typing into chat input / attaching while streaming (#544)

上级 678cd327
...@@ -316,7 +316,6 @@ export function ChatInput({ chatId }: { chatId?: number }) { ...@@ -316,7 +316,6 @@ export function ChatInput({ chatId }: { chatId?: number }) {
placeholder="Ask Dyad to build..." placeholder="Ask Dyad to build..."
className="flex-1 p-2 focus:outline-none overflow-y-auto min-h-[40px] max-h-[200px]" className="flex-1 p-2 focus:outline-none overflow-y-auto min-h-[40px] max-h-[200px]"
style={{ resize: "none" }} style={{ resize: "none" }}
disabled={isStreaming}
/> />
{isStreaming ? ( {isStreaming ? (
...@@ -348,7 +347,6 @@ export function ChatInput({ chatId }: { chatId?: number }) { ...@@ -348,7 +347,6 @@ export function ChatInput({ chatId }: { chatId?: number }) {
<Button <Button
variant="ghost" variant="ghost"
onClick={handleAttachmentClick} onClick={handleAttachmentClick}
disabled={isStreaming}
title="Attach files" title="Attach files"
size="sm" size="sm"
> >
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论