mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-06 14:22:47 +02:00
11 lines
273 B
TypeScript
11 lines
273 B
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import { atom } from "jotai";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Atom to store the IDs of documents mentioned in the current chat composer.
|
||
|
|
* This is used to pass document context to the backend when sending a message.
|
||
|
|
*/
|
||
|
|
export const mentionedDocumentIdsAtom = atom<number[]>([]);
|
||
|
|
|