diff --git a/frontend/src/components/ToolCallCard.vue b/frontend/src/components/ToolCallCard.vue index cccf571..742ae5e 100644 --- a/frontend/src/components/ToolCallCard.vue +++ b/frontend/src/components/ToolCallCard.vue @@ -11,6 +11,7 @@ const appliedTags = ref>(new Set()); const applyingTag = ref(null); const label = computed(() => { + if (props.toolCall.status === "declined") return "Declined"; if (!props.toolCall.result.success) return "Error"; switch (props.toolCall.result.type) { case "task": @@ -180,9 +181,12 @@ async function applyTag(tag: string) {