fix: Proper health check endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user