()
| 445 | |
| 446 | // Render tool-specific input |
| 447 | const renderInput = () => { |
| 448 | switch (toolName) { |
| 449 | case "projectRetrieval": |
| 450 | return formatProjectRetrievalInput(invocation.input); |
| 451 | case "experimentCreation": |
| 452 | return formatExperimentCreationInput(invocation.input); |
| 453 | case "experimentCodeUpdate": |
| 454 | return formatExperimentCodeUpdateInput(invocation.input); |
| 455 | case "textVariation": |
| 456 | return formatTextVariationInput(invocation.input); |
| 457 | case "repoSetup": |
| 458 | return formatRepoSetupInput(invocation.input); |
| 459 | default: |
| 460 | return ( |
| 461 | <div className="text-sm text-gray-300"> |
| 462 | <pre className="whitespace-pre-wrap break-words"> |
| 463 | {JSON.stringify(invocation.input, null, 2)} |
| 464 | </pre> |
| 465 | </div> |
| 466 | ); |
| 467 | } |
| 468 | }; |
| 469 | |
| 470 | // Render tool-specific output |
| 471 | const renderOutput = () => { |
no test coverage detected