feat: Basic trip planner agent

This commit is contained in:
bracesproul
2025-03-03 16:51:46 -08:00
parent 5256efb23f
commit da396ac83e
22 changed files with 471 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ export const GenerativeUIAnnotation = Annotation.Root({
messages: MessagesAnnotation.spec["messages"],
ui: Annotation({ default: () => [], reducer: uiMessageReducer }),
timestamp: Annotation<number>,
next: Annotation<"stockbroker" | "weather" | "generalInput">(),
next: Annotation<"stockbroker" | "tripPlanner" | "generalInput">(),
});
export type GenerativeUIState = typeof GenerativeUIAnnotation.State;