chat / client /src /store /user.ts
Zhitomir's picture
chat init
aa2e6af
Raw
History Blame Contribute Delete
322 Bytes
import { atom } from 'recoil';
import type { TUser, TPlugin } from 'librechat-data-provider';
const user = atom<TUser | undefined>({
key: 'user',
default: undefined,
});
const availableTools = atom<Record<string, TPlugin>>({
key: 'availableTools',
default: {},
});
export default {
user,
availableTools,
};