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

@@ -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 (

View File

@@ -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,