fix: Proper health check endpoint

This commit is contained in:
bracesproul
2025-03-11 10:32:07 -07:00
3 changed files with 7 additions and 9 deletions

View File

@@ -15,9 +15,7 @@ First, clone the repository, or run the [`npx` command](https://www.npmjs.com/pa
```bash ```bash
npx create-agent-chat-app npx create-agent-chat-app
``` ```
or or
```bash ```bash
git clone https://github.com/langchain-ai/agent-chat-ui.git git clone https://github.com/langchain-ai/agent-chat-ui.git

View File

@@ -394,13 +394,13 @@ export function InboxItemInput({
args: args:
Array.isArray(change) && Array.isArray(key) Array.isArray(change) && Array.isArray(key)
? { ? {
...response.args.args, ...response.args.args,
...Object.fromEntries(key.map((k, i) => [k, change[i]])), ...Object.fromEntries(key.map((k, i) => [k, change[i]])),
} }
: { : {
...response.args.args, ...response.args.args,
[key as string]: change as string, [key as string]: change as string,
}, },
}, },
}; };
if ( if (

View File

@@ -189,7 +189,7 @@ export default function useInterruptedActions({
console.error("Error sending human response", e); console.error("Error sending human response", e);
if ("message" in e && e.message.includes("Invalid assistant ID")) { if ("message" in e && e.message.includes("Invalid assistant ID")) {
toast.error("Error: Invalid assistant ID", { toast("Error: Invalid assistant ID", {
description: description:
"The provided assistant ID was not found in this graph. Please update the assistant ID in the settings and try again.", "The provided assistant ID was not found in this graph. Please update the assistant ID in the settings and try again.",
richColors: true, richColors: true,