(t0)
| 206 | return t3; |
| 207 | } |
| 208 | export function AgentResponseDisplay(t0) { |
| 209 | const $ = _c(5); |
| 210 | const { |
| 211 | content |
| 212 | } = t0; |
| 213 | let t1; |
| 214 | if ($[0] === Symbol.for("react.memo_cache_sentinel")) { |
| 215 | t1 = <Text color="success" bold={true}>Response:</Text>; |
| 216 | $[0] = t1; |
| 217 | } else { |
| 218 | t1 = $[0]; |
| 219 | } |
| 220 | let t2; |
| 221 | if ($[1] !== content) { |
| 222 | t2 = content.map(_temp); |
| 223 | $[1] = content; |
| 224 | $[2] = t2; |
| 225 | } else { |
| 226 | t2 = $[2]; |
| 227 | } |
| 228 | let t3; |
| 229 | if ($[3] !== t2) { |
| 230 | t3 = <Box flexDirection="column">{t1}{t2}</Box>; |
| 231 | $[3] = t2; |
| 232 | $[4] = t3; |
| 233 | } else { |
| 234 | t3 = $[4]; |
| 235 | } |
| 236 | return t3; |
| 237 | } |
| 238 | function _temp(block, index) { |
| 239 | return <Box key={index} paddingLeft={2} marginTop={index === 0 ? 0 : 1}><Markdown>{block.text}</Markdown></Box>; |
| 240 | } |
nothing calls this directly
no outgoing calls
no test coverage detected