Skip to content

Commit 0cb9cd1

Browse files
ataibarkaiclaude
andcommitted
refactor(showcase): rename In-Chat HITL rows to name the hook API
gen-ui-interrupt and hitl-in-chat both render an interactive time-picker inline in the chat, but via different API layers: - gen-ui-interrupt -> useInterrupt (low-level primitive) - hitl-in-chat -> useHumanInTheLoop (ergonomic wrapper) Rename to make the dashboard row label reflect the API distinction. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 52b9b20 commit 0cb9cd1

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

showcase/packages/langgraph-python/manifest.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ demos:
142142
- src/app/demos/frontend-tools-async/notes-card.tsx
143143
- src/app/api/copilotkit/route.ts
144144
- id: hitl-in-chat
145-
name: In-Chat Human in the Loop
146-
description: User approves agent actions before execution
145+
name: In-Chat HITL (useHumanInTheLoop — ergonomic API)
146+
description: Interactive approval/decision surface rendered inline in the chat via the high-level `useHumanInTheLoop` hook
147147
tags:
148148
- interactivity
149149
route: /demos/hitl-in-chat
@@ -310,8 +310,8 @@ demos:
310310
- src/agents/reasoning_agent.py
311311
- src/app/api/copilotkit/route.ts
312312
- id: gen-ui-interrupt
313-
name: Controlled Gen-UI (Interrupt)
314-
description: Render UI in response to agent interrupts via useInterrupt
313+
name: In-Chat HITL (useInterrupt — low-level primitive)
314+
description: Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the LangGraph interrupt lifecycle
315315
tags:
316316
- generative-ui
317317
route: /demos/gen-ui-interrupt

showcase/shared/feature-registry.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,17 @@
128128
},
129129
{
130130
"id": "hitl-in-chat",
131-
"name": "Controlled Gen-UI (Interactive) / In-Chat HITL",
131+
"name": "In-Chat HITL (useHumanInTheLoop — ergonomic API)",
132132
"category": "controlled-generative-ui",
133-
"description": "Interactive components from the agent; user approves actions from within the chat",
133+
"description": "Interactive approval/decision surface rendered inline in the chat. Uses the high-level `useHumanInTheLoop` hook — handles the interrupt lifecycle for you.",
134134
"og_docs_url": "https://docs.copilotkit.ai/features/hitl-in-chat",
135135
"shell_docs_url": "/docs/features/hitl-in-chat"
136136
},
137137
{
138138
"id": "gen-ui-interrupt",
139-
"name": "Controlled Gen-UI (Interrupt)",
139+
"name": "In-Chat HITL (useInterrupt — low-level primitive)",
140140
"category": "controlled-generative-ui",
141-
"description": "Interrupt-based component rendering",
141+
"description": "Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the LangGraph interrupt lifecycle.",
142142
"og_docs_url": "https://docs.copilotkit.ai/features/gen-ui-interrupt",
143143
"shell_docs_url": "/docs/features/gen-ui-interrupt"
144144
},

0 commit comments

Comments
 (0)