From 5857b634f9a64f8a59531e1a6d33d3f497a751f4 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 3 Mar 2025 16:52:58 -0800 Subject: [PATCH] cr --- agent/agent.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agent/agent.tsx b/agent/agent.tsx index f6d5c3b..1d00cad 100644 --- a/agent/agent.tsx +++ b/agent/agent.tsx @@ -13,8 +13,7 @@ async function router( state: GenerativeUIState, ): Promise> { const routerDescription = `The route to take based on the user's input. -- stockbroker: can fetch the price of a ticker, purchase/sell a ticker, or get the user's portfolio -- tripPlanner: helps the user plan their trip. it can suggest restaurants, and places to stay in any given location. +${allToolDescriptions} - generalInput: handles all other cases where the above tools don't apply `; const routerSchema = z.object({