From e76caab5766e5f8a0bce24e6dc482281681c98c4 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 10 Mar 2025 14:05:23 -0700 Subject: [PATCH] renaming --- src/components/thread/messages/ai.tsx | 4 ++-- src/lib/{is-hitl.ts => agent-inbox-interrupt.ts} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/lib/{is-hitl.ts => agent-inbox-interrupt.ts} (91%) diff --git a/src/components/thread/messages/ai.tsx b/src/components/thread/messages/ai.tsx index 80adf43..61c47c3 100644 --- a/src/components/thread/messages/ai.tsx +++ b/src/components/thread/messages/ai.tsx @@ -9,7 +9,7 @@ import { cn } from "@/lib/utils"; import { ToolCalls, ToolResult } from "./tool-calls"; import { MessageContentComplex } from "@langchain/core/messages"; import { Fragment } from "react/jsx-runtime"; -import { isAgentInboxInterrupt } from "@/lib/is-hitl"; +import { isAgentInboxInterruptSchema } from "@/lib/agent-inbox-interrupt"; import { ThreadView } from "../agent-inbox"; function CustomComponent({ @@ -118,7 +118,7 @@ export function AssistantMessage({ )) || (hasToolCalls && )} - {isAgentInboxInterrupt(interrupt?.value) && ( + {isAgentInboxInterruptSchema(interrupt?.value) && ( )}