- Issue created by @RobLoach
- 🇨🇦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"
- 🇧🇪Belgium wouters_f Leuven
Tested this and yup it works.
- without parameters
- with model and provider paramsIf you add only the provider param (different from your standard) it throws an error (for me).
But it also is an edge case I think. If you're adding a providder it also makes sense to add a model.I also see you're catching some errors in the code. I like it
- First commit to issue fork.
- 🇩🇪Germany marcus_johansson
Awesome stuff - I fixed some phpcs issues and have merged. Thanks Rob!
-
marcus_johansson →
committed 541f6be8 on 1.1.x
Issue #3525015: Add Drush AI Command
-
marcus_johansson →
committed 541f6be8 on 1.1.x
-
robloach →
committed d27ef26b on 1.1.x
Issue #3525015: Update syntax
-
robloach →
committed d27ef26b on 1.1.x
-
robloach →
committed 96c9785f on 1.1.x
Issue #3525015: Fix code errors
-
robloach →
committed 96c9785f on 1.1.x
-
robloach →
committed 60236fc6 on 1.1.x
Issue #3525015: Add Drush Command
-
robloach →
committed 60236fc6 on 1.1.x