Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/agent/tool-call-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const TOOL_META: Record<
label: "Fetch Node",
color: "text-violet-400",
},
graph_map: {
graph_neighbors: {
icon: GitFork,
label: "Explore",
color: "text-emerald-400",
Expand All @@ -34,7 +34,7 @@ function summariseParams(tool: string, params: Record<string, unknown>): string
if (tool === "graph_node") {
return String(params.ref_id ?? params.id ?? "")
}
if (tool === "graph_map") {
if (tool === "graph_neighbors") {
return String(params.ref_id ?? params.id ?? "")
}
return JSON.stringify(params).slice(0, 60)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/agent-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { isMocksEnabled } from "./mock-data"

export interface ToolCallEvent {
id: string
tool: "graph_search" | "graph_node" | "graph_map" | string
tool: "graph_search" | "graph_node" | "graph_neighbors" | string
params: Record<string, unknown>
status: "in-flight" | "done" | "error"
resultCount?: number
Expand Down
Loading