MCPcopy Create free account
hub / github.com/MagicCube/agentara / MessageBranchContextType

Interface MessageBranchContextType

web/src/components/ai-elements/message.tsx:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112};
113
114interface MessageBranchContextType {
115 currentBranch: number;
116 totalBranches: number;
117 goToPrevious: () => void;
118 goToNext: () => void;
119 branches: ReactElement[];
120 setBranches: (branches: ReactElement[]) => void;
121}
122
123const MessageBranchContext = createContext<MessageBranchContextType | null>(
124 null,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected