feat: add ability to share chats (#594)
This commit is contained in:
parent
64d1aad2bb
commit
4d901ba066
20 changed files with 877 additions and 66 deletions
|
|
@ -60,6 +60,7 @@ function PureBlock({
|
|||
setMessages,
|
||||
reload,
|
||||
votes,
|
||||
isReadonly,
|
||||
}: {
|
||||
chatId: string;
|
||||
input: string;
|
||||
|
|
@ -86,6 +87,7 @@ function PureBlock({
|
|||
reload: (
|
||||
chatRequestOptions?: ChatRequestOptions,
|
||||
) => Promise<string | null | undefined>;
|
||||
isReadonly: boolean;
|
||||
}) {
|
||||
const {
|
||||
data: documents,
|
||||
|
|
@ -292,6 +294,7 @@ function PureBlock({
|
|||
messages={messages}
|
||||
setMessages={setMessages}
|
||||
reload={reload}
|
||||
isReadonly={isReadonly}
|
||||
/>
|
||||
|
||||
<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