File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ const ToolsTab = ({
95
95
renderItem = { ( tool ) => (
96
96
< div className = "flex flex-col items-start" >
97
97
< span className = "flex-1" > { tool . name } </ span >
98
- < span className = "text-sm text-gray-500 text-left" >
98
+ < span className = "text-sm text-gray-500 text-left line-clamp-3 " >
99
99
{ tool . description }
100
100
</ span >
101
101
</ div >
@@ -114,9 +114,12 @@ const ToolsTab = ({
114
114
< div className = "p-4" >
115
115
{ selectedTool ? (
116
116
< div className = "space-y-4" >
117
- < p className = "text-sm text-gray-600 dark:text-gray-400" >
117
+ < div className = "text-sm font-medium" > Description</ div >
118
+ < div className = "text-sm text-gray-600 dark:text-gray-400 whitespace-pre-wrap max-h-48 overflow-y-auto" >
118
119
{ selectedTool . description }
119
- </ p >
120
+ </ div >
121
+ < hr className = "border-t border-gray-300 my-4" />
122
+ < div className = "text-sm font-medium" > Inputs & Outputs </ div >
120
123
{ Object . entries ( selectedTool . inputSchema . properties ?? [ ] ) . map (
121
124
( [ key , value ] ) => {
122
125
const prop = normalizeUnionType ( value as JsonSchemaType ) ;
You can’t perform that action at this time.
0 commit comments