@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
19 lines (15 loc) • 348 B
text/typescript
import { StateCreator } from 'zustand/vanilla';
import { ChatStore } from '../../store';
export interface ShareAction {
genShareUrl: () => Promise<string>;
}
export const chatShare: StateCreator<
ChatStore,
[['zustand/devtools', never]],
[],
ShareAction
> = () => ({
genShareUrl: () => {
return Promise.resolve('TODO');
},
});