This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { openRouterModel } from "@/lib/ai"; | |
import { type UIMessageStreamWriter, streamText } from "ai"; | |
const streamingAsyncProcess = async ({ | |
writer, | |
messageId, | |
}: { | |
writer: UIMessageStreamWriter; | |
messageId: string; | |
}) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! name: Trustpilot Reviews Goggle | |
! description: Find results that are only from trustpilot reviews | |
! public: true | |
! author: adtolanding.com | |
$discard | |
/review/$boost,site=trustpilot.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! name: G2 Reviews Goggle | |
! description: Find results that are only from g2 reviews | |
! public: true | |
! author: adtolanding.com | |
$discard | |
/products/*/reviews$boost,site=g2.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import consola from 'consola'; | |
import { exec as originalExec } from 'child_process'; | |
import { promisify } from 'util'; | |
const exec = promisify(originalExec); | |
const fetchQuirrelToken = async ( | |
quirrelPassphrase: string, | |
): Promise<string | null> => { | |
let attempts = 0; |