본문으로 건너뛰기

함수: renderLazyCatalogEntry()

function renderLazyCatalogEntry(
name,
description,
includeDescription?): string;

정의 위치: packages/ai/src/activities/chat/tools/lazy-tools.ts:22

includeDescription에 따라 lazy-tool 카탈로그의 항목 하나를 렌더링합니다.

  • 'none'(기본값) → 이름만 표시(기존 chat 동작 유지)
  • 'first-sentence' → name — <first sentence>
  • 'full' → name — <full description> 설명이 없으면 이름만 표시합니다.

매개변수

name

string

description

string

includeDescription?

"full" | "first-sentence" | "none" | undefined

반환값

string