MCPcopy Create free account
hub / github.com/altic-dev/Pilot / formatProjectRetrievalOutput

Function formatProjectRetrievalOutput

src/components/tool-invocation.tsx:34–64  ·  view source on GitHub ↗
(output: any)

Source from the content-addressed store, hash-verified

32}
33
34function formatProjectRetrievalOutput(output: any) {
35 return (
36 <div className="space-y-2">
37 {output?.projectName && (
38 <div className="flex items-center gap-2">
39 <span className="text-sm text-gray-400">Project:</span>
40 <span className="text-sm text-gray-200 font-medium">{output.projectName}</span>
41 </div>
42 )}
43 {output?.projectId && (
44 <div className="flex items-center gap-2">
45 <span className="text-sm text-gray-400">ID:</span>
46 <span className="text-sm text-gray-200">{output.projectId}</span>
47 </div>
48 )}
49 {output?.projectUrl && (
50 <div className="flex items-center gap-2">
51 <span className="text-sm text-gray-400">URL:</span>
52 <a
53 href={output.projectUrl}
54 target="_blank"
55 rel="noopener noreferrer"
56 className="text-sm text-blue-400 hover:text-blue-300 underline"
57 >
58 {output.projectUrl}
59 </a>
60 </div>
61 )}
62 </div>
63 );
64}
65
66function formatExperimentCreationInput(input: any) {
67 return (

Callers 1

renderOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected