feat: add chat history and session

This commit is contained in:
2024-10-01 00:46:26 +08:00
parent 441b94a061
commit 7d4e6bd299
25 changed files with 1133 additions and 221 deletions

View File

@@ -109,7 +109,7 @@ export const ContainerList = () => {
return {
open: state.open,
setOpen: state.setOpen,
setData: state.setData,
setKey: state.setKey,
};
}),
);
@@ -224,8 +224,8 @@ export const ContainerList = () => {
<Tooltip title='ai编程'>
<Button
onClick={(e) => {
aiStore.setKey(location.pathname);
aiStore.setOpen(true);
// aiStore.setData({ ...containerStore.formData });
}}
icon={<MessageOutlined />}></Button>
</Tooltip>