feat: edit and resubmit messages (#592)
This commit is contained in:
parent
2e479ccce7
commit
64d1aad2bb
12 changed files with 302 additions and 25 deletions
|
|
@ -58,6 +58,7 @@ function PureBlock({
|
|||
setBlock,
|
||||
messages,
|
||||
setMessages,
|
||||
reload,
|
||||
votes,
|
||||
}: {
|
||||
chatId: string;
|
||||
|
|
@ -82,6 +83,9 @@ function PureBlock({
|
|||
},
|
||||
chatRequestOptions?: ChatRequestOptions,
|
||||
) => void;
|
||||
reload: (
|
||||
chatRequestOptions?: ChatRequestOptions,
|
||||
) => Promise<string | null | undefined>;
|
||||
}) {
|
||||
const {
|
||||
data: documents,
|
||||
|
|
@ -286,6 +290,8 @@ function PureBlock({
|
|||
setBlock={setBlock}
|
||||
votes={votes}
|
||||
messages={messages}
|
||||
setMessages={setMessages}
|
||||
reload={reload}
|
||||
/>
|
||||
|
||||
<form className="flex flex-row gap-2 relative items-end w-full px-4 pb-4">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue