Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

fix: alert tools not available

AmanAgarwal04171dea96d4254
diff --git a/src/client/src/features/alert-tools.ts b/src/client/src/features/alert-tools.ts
index 33af21c9..3a8d7498 100644
--- a/src/client/src/features/alert-tools.ts
+++ b/src/client/src/features/alert-tools.ts
@@ -11,7 +11,7 @@ export async function deleteAlertTool(_id: string) {
}
export async function listAlertsTool() {
- return { success: true, alerts: [] };
+ return { success: false, error: "Alerting is not available in this edition." };
}
export async function getAlertTool(_id: string) {
@@ -31,7 +31,7 @@ export async function deleteAlertDestinationTool(_id: string) {
}
export async function listAlertDestinationsTool() {
- return { success: true, destinations: [] };
+ return { success: false, error: "Alerting is not available in this edition." };
}
export async function getAlertDestinationTool(_id: string) {