(t0)
| 433 | } |
| 434 | } |
| 435 | function AssistantMessageBlock(t0) { |
| 436 | const $ = _c(45); |
| 437 | const { |
| 438 | param, |
| 439 | addMargin, |
| 440 | tools, |
| 441 | commands, |
| 442 | verbose, |
| 443 | inProgressToolUseIDs, |
| 444 | progressMessagesForMessage, |
| 445 | shouldAnimate, |
| 446 | shouldShowDot, |
| 447 | width, |
| 448 | inProgressToolCallCount, |
| 449 | isTranscriptMode, |
| 450 | lookups, |
| 451 | onOpenRateLimitOptions, |
| 452 | thinkingBlockId, |
| 453 | lastThinkingBlockId, |
| 454 | advisorModel |
| 455 | } = t0; |
| 456 | if (feature("CONNECTOR_TEXT")) { |
| 457 | if (isConnectorTextBlock(param)) { |
| 458 | let t1; |
| 459 | if ($[0] !== param.connector_text) { |
| 460 | t1 = { |
| 461 | type: "text", |
| 462 | text: param.connector_text |
| 463 | }; |
| 464 | $[0] = param.connector_text; |
| 465 | $[1] = t1; |
| 466 | } else { |
| 467 | t1 = $[1]; |
| 468 | } |
| 469 | let t2; |
| 470 | if ($[2] !== addMargin || $[3] !== onOpenRateLimitOptions || $[4] !== shouldShowDot || $[5] !== t1 || $[6] !== verbose || $[7] !== width) { |
| 471 | t2 = <AssistantTextMessage param={t1} addMargin={addMargin} shouldShowDot={shouldShowDot} verbose={verbose} width={width} onOpenRateLimitOptions={onOpenRateLimitOptions} />; |
| 472 | $[2] = addMargin; |
| 473 | $[3] = onOpenRateLimitOptions; |
| 474 | $[4] = shouldShowDot; |
| 475 | $[5] = t1; |
| 476 | $[6] = verbose; |
| 477 | $[7] = width; |
| 478 | $[8] = t2; |
| 479 | } else { |
| 480 | t2 = $[8]; |
| 481 | } |
| 482 | return t2; |
| 483 | } |
| 484 | } |
| 485 | switch (param.type) { |
| 486 | case "tool_use": |
| 487 | { |
| 488 | let t1; |
| 489 | if ($[9] !== addMargin || $[10] !== commands || $[11] !== inProgressToolCallCount || $[12] !== inProgressToolUseIDs || $[13] !== isTranscriptMode || $[14] !== lookups || $[15] !== param || $[16] !== progressMessagesForMessage || $[17] !== shouldAnimate || $[18] !== shouldShowDot || $[19] !== tools || $[20] !== verbose) { |
| 490 | t1 = <AssistantToolUseMessage param={param} addMargin={addMargin} tools={tools} commands={commands} verbose={verbose} inProgressToolUseIDs={inProgressToolUseIDs} progressMessagesForMessage={progressMessagesForMessage} shouldAnimate={shouldAnimate} shouldShowDot={shouldShowDot} inProgressToolCallCount={inProgressToolCallCount} lookups={lookups} isTranscriptMode={isTranscriptMode} />; |
| 491 | $[9] = addMargin; |
| 492 | $[10] = commands; |
nothing calls this directly
no test coverage detected