From f2f0645244479a8f518f41c33fa5ea74c61bce0e Mon Sep 17 00:00:00 2001 From: Alfred Nutile Date: Tue, 30 Jul 2024 21:35:09 -0400 Subject: [PATCH] wow that worked --- app/Domains/Messages/RoleEnum.php | 2 +- app/Domains/Sources/WebSearch/GetPage.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Domains/Messages/RoleEnum.php b/app/Domains/Messages/RoleEnum.php index becb1a25..bdec8ab8 100644 --- a/app/Domains/Messages/RoleEnum.php +++ b/app/Domains/Messages/RoleEnum.php @@ -2,7 +2,7 @@ namespace App\Domains\Messages; -enum RoleEnum: string +enum git pRoleEnum: string { case User = 'user'; case System = 'system'; diff --git a/app/Domains/Sources/WebSearch/GetPage.php b/app/Domains/Sources/WebSearch/GetPage.php index 4ab9c374..6211ae3f 100644 --- a/app/Domains/Sources/WebSearch/GetPage.php +++ b/app/Domains/Sources/WebSearch/GetPage.php @@ -27,6 +27,7 @@ public static function make(Collection $collection): self public function handle(string $url, bool $parseHtml = true): string { $results = Browsershot::url($url) + ->userAgent('DailyAI Studio Browser 1.0, helping users automate workflows') ->dismissDialogs() ->fullPage();