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
|
```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
|
||||||
|
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user