Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/15/2026 in all areas

  1. I don’t know how it will work in real work, as I never use AI assistants, as I prefer more flexible control, but I made a module with AI for AI. https://github.com/mxmsmnv/Context If there is an opportunity to test and give feedback, I will be glad!
    2 points
  2. I wanted to lock down the Google Translation API use to my domain, but apparently there was no referrer set in the request. To fix this I had to add the referrer to the $requestConfig array in GoogleCloudTranslationEngine.php, line 124, see PR. $referer = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https://' : 'http://') . $_SERVER['HTTP_HOST']; $requestConfig = [ CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4, CURLOPT_RETURNTRANSFER => true, CURLOPT_USERAGENT => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)', CURLOPT_REFERER => $referer ]; With this change in place I can now add the domains I run the website on and set things up tighter.
    1 point
  3. Awesome article that sums it all up neatly. Thanks for this comprehensive guide, Ryan! I converted the content of this article into a reusable AI agent skill. Available here: https://github.com/gebeer/processwire-ai-docs/tree/main/skills/pw-page-classes
    1 point
×
×
  • Create New...