Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
style(php-sdk): tighten comments in Laravel AI tools
Kris Oei22ca9d513eaf
diff --git a/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php b/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.phpindex 92f273b6d..eadfe121f 100644--- a/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php+++ b/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php@@ -12,10 +12,8 @@ use Laravel\Ai\Contracts\Tool;abstract class FirecrawlTool implements Tool{- // Prefixed with an underscore because the API's integration validator- // accepts any value starting with `_` on every deployed version, letting- // these tools work against lagging or self-hosted APIs with no deploy- // ordering requirement.+ // The underscore prefix passes the API's integration validator on every+ // deployed version, including older self-hosted instances.protected const INTEGRATION = '_laravel-ai';public function __construct(diff --git a/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php b/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.phpindex 0388446f6..9b613d24e 100644--- a/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php+++ b/apps/php-sdk/tests/Unit/LaravelTools/FirecrawlCrawlTest.php@@ -77,8 +77,7 @@ it('reports a friendly message when the crawl exceeds its own timeout', function])),]);- // Anonymous subclass overrides the wait so the test does not sleep for- // the full production timeout.+ // Override the wait so the test does not sleep for the production timeout.$tool = new class ($client) extends FirecrawlCrawl {protected int $timeoutSeconds = 1;};