Files
agent-chat-ui/agent/stockbroker/types.ts
2025-03-03 16:51:46 -08:00

11 lines
370 B
TypeScript

import { Annotation } from "@langchain/langgraph";
import { GenerativeUIAnnotation } from "../types";
export const StockbrokerAnnotation = Annotation.Root({
messages: GenerativeUIAnnotation.spec.messages,
ui: GenerativeUIAnnotation.spec.ui,
timestamp: GenerativeUIAnnotation.spec.timestamp,
});
export type StockbrokerState = typeof StockbrokerAnnotation.State;