feat(agent): Implement URL summarization agent

This commit is contained in:
Willie Zutz 2025-06-29 13:59:52 -06:00
parent d66300e78e
commit f88c650704
6 changed files with 347 additions and 2 deletions

View file

@ -66,4 +66,12 @@ export const AgentState = Annotation.Root({
reducer: (x, y) => y ?? x,
default: () => 'webSearch',
}),
urlsToSummarize: Annotation<string[]>({
reducer: (x, y) => y ?? x,
default: () => [],
}),
summarizationIntent: Annotation<string>({
reducer: (x, y) => y ?? x,
default: () => '',
}),
});