2025-02-27 15:41:47 -08:00
|
|
|
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;
|
2025-03-05 15:09:10 +01:00
|
|
|
export type StockbrokerUpdate = typeof StockbrokerAnnotation.Update;
|