Skip to content

Commit 1a8461c

Browse files
authored
feat: added action to the list mcp servers result header for buttons (#651)
## Problem ListMcpServersResult needed actions for header buttons for mcp admin control. ## Solution - Added actions for ListMcpServersResult <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots if applicable --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent ab230b9 commit 1a8461c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/chat.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ export interface Action {
546546
id: string
547547
icon?: IconType
548548
text: string
549+
description?: string
549550
}
550551
export interface ConversationItem {
551552
id: string
@@ -647,6 +648,7 @@ export interface ListMcpServersResult {
647648
title?: string
648649
status?: Status
649650
}
651+
actions?: Action[]
650652
}
651653
list: DetailedListGroup[]
652654
filterOptions?: FilterOption[]

0 commit comments

Comments
 (0)