in armor-up-api/src/flows/providePrompt.ts [34:46]
prompt: getRandomItem(unsafePrompts),
promptType: promptType.UNSAFE_PROMPT,
};
case promptType.INTERESTING_PROMPT:
default:
// Fetch the latest unused prompt from Firestore
const querySnapshot = await collection
.where("used", "==", false)
.orderBy("timestamp", "asc")
.limit(1)
.get();
if (!querySnapshot.empty) {