Earth
Account created on 18 May 2006, about 19 years ago
#

Merge Requests

More

Recent comments

🇨🇦Canada RobLoach Earth

Confirmed it's something with the action module. Try this...

drush pm:install action
drush cr

Visit /admin/structure/ai-agent/add

You get the white screen:

The website encountered an unexpected error. Try again later.

Error: Call to a member function newInstance() on null in Drupal\ai\Plugin\AiFunctionCall\Derivative\ActionPluginDeriver->resolveRootDataType() (line 183 of modules/contrib/ai/src/Plugin/AiFunctionCall/Derivative/ActionPluginDeriver.php).

🇨🇦Canada RobLoach Earth

MR over at https://git.drupalcode.org/project/ai/-/merge_requests/624

May not be the best solution around it though. Perhaps we have it return the same `$type` instead of an empty string?

🇨🇦Canada RobLoach Earth

Pushed up a change over at https://www.drupal.org/project/ai/issues/3525540 🐛 Error: Call to a member function newInstance() with ActionPluginDeriver Active ... May not be the best solution around it though. Merge Request: https://git.drupalcode.org/project/ai/-/merge_requests/624

🇨🇦Canada RobLoach Earth

Looks good, thanks. Do we need to update the docs for this? Seems intuitive enough to not really need mentioning 🤷

The other thing I'd like to have when entering drush ai is an interactive shell that continuously chats with you back and forth.

🇨🇦Canada RobLoach Earth

Here's the initial Merge Request that includes the basic drush ai:chat command that sends the request to the LLM. Would love some ideas on how it could improve.

I think it would be really cool to expose some function calling to allow the AI to run Drush commands for you. Then you could do stuff like...

drush ai "Create a log in link for Jeff, and then clear the cache"
🇨🇦Canada RobLoach Earth

robloach created an issue.

🇨🇦Canada RobLoach Earth

The issue exists in both 1.1.x and 1.0.x.

🇨🇦Canada RobLoach Earth

robloach changed the visibility of the branch 3516448-fatal-error-on to hidden.

🇨🇦Canada RobLoach Earth

Ran into this when upgrading to the latest 1.1.x, and the proposed change fixed it. In the Merge Request, I fixed up the whitespace. Looks good, but would appreciate another eye.

🇨🇦Canada RobLoach Earth

robloach made their first commit to this issue’s fork.

🇨🇦Canada RobLoach Earth

Attached is the patch against Drupal 10.4.x, with the non-consequential parts removed to avoid the conflicts.

🇨🇦Canada RobLoach Earth

robloach made their first commit to this issue’s fork.

🇨🇦Canada RobLoach Earth

Having getter/setters for chatHistory makes sense to me. We could add docs @see-ing the functions, but the rest of the protected variables don't do this, so I'd say this is good to go either way.

🇨🇦Canada RobLoach Earth

Optimally, we should be strict about the getTools() method being in the interface, but I think this is a good work-around for providers that may not implement getTools(). Merge request over at https://git.drupalcode.org/project/ai/-/merge_requests/572 .

🇨🇦Canada RobLoach Earth

Added toggles for the TITLE and DESCRIPTION to make it backward compatible, and allows you to manually provide the file if you really want to.

🇨🇦Canada RobLoach Earth

Got an idea for the upgrade path: Add a checkbox for title and description which toggles whether or not they're displayed. Default to ON.

🇨🇦Canada RobLoach Earth

Ran into this issue. The Merge Request fixes it, though it looks like the tests failed. I'm not 100% sure, but are these the new class names?

  • ToolsInput
  • ToolsFunctionInput
🇨🇦Canada RobLoach Earth

Thanks for the changes.

🇨🇦Canada RobLoach Earth

Thanks for pushing up the module, davituri. I've started bringing in features from my original prototype into this module. The first part is dynamically building the Title and Description: https://www.drupal.org/project/llmstxt/issues/3519314 📌 Add Title/Description to Config Page Needs review

Providing fields for the people to enter information, rather than having them write markdown, will ease the user experience, and perhaps allow the llms.txt file to be a bit more dynamic.

🇨🇦Canada RobLoach Earth

Improved some of the JavaScript in the MR here:
https://git.drupalcode.org/project/ai_agents/-/merge_requests/79

Nothing changes for the user, it just removes jQuery, adds Drupal Behaviors, along with once().

🇨🇦Canada RobLoach Earth

Thanks, this directory should be fine to remove.

📌 | AI | Landing Page
🇨🇦Canada RobLoach Earth

robloach created an issue.

🇨🇦Canada RobLoach Earth

robloach created an issue.

🇨🇦Canada RobLoach Earth

There's a lot of conflicts in here.

🇨🇦Canada RobLoach Earth

Worked well here. I added a small tweak so that it doesn't call prePrompt() twice. This applies to both 1.1.x and 1.0.x.

🇨🇦Canada RobLoach Earth

robloach made their first commit to this issue’s fork.

🇨🇦Canada RobLoach Earth

Tested locally, and worked here.

Side-note: Should we also check the validity of $value[$id . '_model'] ?

🇨🇦Canada RobLoach Earth

robloach created an issue.

🇨🇦Canada RobLoach Earth

Here's the patch against 4.2.x.

🇨🇦Canada RobLoach Earth

@avpaderno Looks like it's now validating on https://www.rssboard.org/rss-validator/check.cgi?url=https%3A%2F%2Fwww.k...

The W3C one seems to have a cached version, or something.

🇨🇦Canada RobLoach Earth

This is relevant on 10.3.x?

🇨🇦Canada RobLoach Earth

We ran into something similar on the Vimeo URLs. The options that you pass in as URL parameters are stripped when creating the iFrame for the oembed.

🇨🇦Canada RobLoach Earth

Thanks for the review. I'll have a look to see if we can get the feed validating.

🇨🇦Canada RobLoach Earth

Tested this out, and worked flawlessly. Was confused when running the related SQL it didn't output any results. This patch fixes the false positive.

The diff applies to Drupal 10.3 as well, so just a rebase/cherry-pick should work fine, but here's the same patch if needed.

🇨🇦Canada RobLoach Earth

I believe this was fixed in the upstream github repo at https://github.com/pantheon-systems/search_api_pantheon/pull/197 .

If you're on composer, you can use that instead of the Drupal repo...

``` json
"pantheon-systems/search_api_pantheon": "^8",
```

🇨🇦Canada RobLoach Earth

Aside from Alex Pott tone updates, it looks like there are some changes that seem unrelated to adding recipe API docs? Namingly...

  1. In EntityCreate.php
  2. SimpleConfigUpdate.php

I made the comments inline on the MR at https://git.drupalcode.org/project/distributions_recipes/-/merge_request...

🇨🇦Canada RobLoach Earth

Sounds like there were some chnages to the pipeline? Mind having another look at the test results and pulling the latest into this new branch? Thanks!

🇨🇦Canada RobLoach Earth

robloach made their first commit to this issue’s fork.

🇨🇦Canada RobLoach Earth

Merged! Thanks so much for pushing this forwards.

🇨🇦Canada RobLoach Earth

robloach made their first commit to this issue’s fork.

🇨🇦Canada RobLoach Earth

+1 While I am unable to add Maintainers, I do have the ability to make commits. If you go through the issue queue, and mark some as RBTC, I'm happy to push changes forwards.

🇨🇦Canada RobLoach Earth

What @thony1199 brought up originally is about using a strict Content Security Policy, which can block external network requests. It's best to bring down external libraries, and serve them directly through Drupal.

Whether or not that's the primary concern, it does make sense to remove this library outright. Internet Explorer was retired two years ago on June 15, 2022, and is no longer supported by Drupal. The polyfill is no longer needed.

🇨🇦Canada RobLoach Earth

Thanks a lot for the update here. Really appreciate it.

🇨🇦Canada RobLoach Earth

RobLoach made their first commit to this issue’s fork.

🇨🇦Canada RobLoach Earth

Yes, you'll have to add both cases. The exact string that's passed through the t() function.

Production build 0.71.5 2024