Skip to content

Commit

Permalink
Updating tool names
Browse files Browse the repository at this point in the history
  • Loading branch information
spong committed Dec 14, 2023
1 parent 19b7532 commit dcf4c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const ALERT_COUNTS_TOOL: AssistantTool = {
if (!this.isSupported(params)) return null;
const { alertsIndexPattern, esClient } = params as AlertCountsToolParams;
return new DynamicTool({
name: 'alert-counts',
name: 'AlertCountsTool',
description: ALERT_COUNTS_TOOL_DESCRIPTION,
func: async () => {
const query = getAlertsCountQuery(alertsIndexPattern);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const OPEN_AND_ACKNOWLEDGED_ALERTS_TOOL: AssistantTool = {
size,
} = params as OpenAndAcknowledgedAlertsToolParams;
return new DynamicTool({
name: 'open-alerts',
name: 'OpenAndAcknowledgedAlertsTool',
description: OPEN_AND_ACKNOWLEDGED_ALERTS_TOOL_DESCRIPTION,
func: async () => {
const query = getOpenAndAcknowledgedAlertsQuery({
Expand Down

0 comments on commit dcf4c82

Please sign in to comment.