fix(searcher): remove card_id from search-result ui.push props
Trigger auto deployment for soc-langgraph / build-and-deploy (push) Failing after 28s
Deploy LangGraph UI to Azure Static Web Apps / build-and-deploy (push) Failing after 38s

SearchResultProps does not declare a card_id field, so passing it caused
TS2769 type errors. search-result cards do not need loading→done dedup
(each google_search/web_search_deep call produces a complete result in one
push), so the card_id and associated local variables are unnecessary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gongzhiyong
2026-04-13 00:28:04 +08:00
co-authored by Claude Sonnet 4.6
parent 2830024cb9
commit 5f9d05135d
@@ -59,7 +59,6 @@ export async function toolExecutorNode(
switch (name) {
case "google_search": {
const parsed = googleSearchSchema.parse(args);
const googleCardId = `google-search-${tc.id}`;
let results: Array<{ title: string; url: string; snippet: string }>;
let knowledgeGraph: { title: string; description: string } | undefined;
let fallbackUsed = false;
@@ -104,7 +103,6 @@ export async function toolExecutorNode(
{
name: "search-result",
props: {
card_id: googleCardId,
query: parsed.query,
total: results.length,
results,
@@ -141,7 +139,6 @@ export async function toolExecutorNode(
case "web_search_deep": {
const parsed = webSearchDeepSchema.parse(args);
const deepCardId = `web-search-deep-${tc.id}`;
let enriched: Array<{ title: string; url: string; snippet: string }>;
let fallbackUsed = false;
let readerAllFailed = false;
@@ -205,7 +202,6 @@ export async function toolExecutorNode(
{
name: "search-result",
props: {
card_id: deepCardId,
query: parsed.query,
total: enriched.length,
results: enriched,