diff --git a/README.md b/README.md index aa78848..604699b 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,7 @@ First, clone the repository, or run the [`npx` command](https://www.npmjs.com/pa ```bash npx create-agent-chat-app ``` - or - ```bash git clone https://github.com/langchain-ai/agent-chat-ui.git diff --git a/src/components/thread/agent-inbox/components/inbox-item-input.tsx b/src/components/thread/agent-inbox/components/inbox-item-input.tsx index 7042933..83593f5 100644 --- a/src/components/thread/agent-inbox/components/inbox-item-input.tsx +++ b/src/components/thread/agent-inbox/components/inbox-item-input.tsx @@ -394,13 +394,13 @@ export function InboxItemInput({ args: Array.isArray(change) && Array.isArray(key) ? { - ...response.args.args, - ...Object.fromEntries(key.map((k, i) => [k, change[i]])), - } + ...response.args.args, + ...Object.fromEntries(key.map((k, i) => [k, change[i]])), + } : { - ...response.args.args, - [key as string]: change as string, - }, + ...response.args.args, + [key as string]: change as string, + }, }, }; if ( diff --git a/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx b/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx index c6ce64c..705149c 100644 --- a/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx +++ b/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx @@ -189,7 +189,7 @@ export default function useInterruptedActions({ console.error("Error sending human response", e); if ("message" in e && e.message.includes("Invalid assistant ID")) { - toast.error("Error: Invalid assistant ID", { + toast("Error: Invalid assistant ID", { description: "The provided assistant ID was not found in this graph. Please update the assistant ID in the settings and try again.", richColors: true,