Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ce7002c
Set the category from the parent class as we'll likely use the same c…
dkotter Oct 31, 2025
76da245
Add a generate titles method to our feature. Use this in our ability …
dkotter Oct 31, 2025
e86c1b4
Add an API Request class that can be used to make API requests. Use t…
dkotter Oct 31, 2025
64062f3
Install guzzle so things work
dkotter Oct 31, 2025
6afdbf6
Switch to the settings branch of the WP AI Client repo so we can more…
dkotter Nov 3, 2025
c08f292
Add the ability to set system instructions at the feature level. Pass…
dkotter Nov 3, 2025
ec8c3b8
Add a prompt builder method to our API Request class
dkotter Nov 3, 2025
ff16051
Add unit tests to cover changes
dkotter Nov 3, 2025
e8fa887
Fix lint errors
dkotter Nov 3, 2025
d9b7965
Fix PHPStan errors
dkotter Nov 3, 2025
9c6f479
More PHPStan fixes
dkotter Nov 3, 2025
44fbe59
Fix typo
dkotter Nov 3, 2025
9930535
Update our system instructions
dkotter Nov 5, 2025
0176418
Set our default title suggestions to 3
dkotter Nov 5, 2025
797439f
Instead of just sending the content, build up additional context to s…
dkotter Nov 5, 2025
6d0127a
Add helper method to normalize content, basically stripping unwanted …
dkotter Nov 5, 2025
6a192ee
Move our prompt to a separate markdown file to make it easier to mana…
dkotter Nov 5, 2025
55d5ec2
Fix tests
dkotter Nov 5, 2025
50248ab
Fix PHPCS error
dkotter Nov 5, 2025
b32ae5c
Ensure we properly handle thrown exceptions when making the request
dkotter Nov 6, 2025
09da805
Set our context as an array instead of a string for ease of use. Conv…
dkotter Nov 6, 2025
280b5ac
Set our preferred models for each provider to ensure we don't end up …
dkotter Nov 6, 2025
5394a70
Fix tests
dkotter Nov 6, 2025
10a0d95
Fix PHPStan error
dkotter Nov 6, 2025
70677b9
Switch back to trunk for the WP AI Client now that the settings PR ha…
dkotter Nov 7, 2025
ee00d69
Merge branch 'feature/title-generation-base' into feature/title-gener…
dkotter Nov 12, 2025
5bd5bed
Move the generate_titles method into the ability as we're no longer p…
dkotter Nov 12, 2025
cdc6b73
Update tests with new changes
dkotter Nov 12, 2025
256970f
Pull in latest WP AI Client code and start using more of their classes
dkotter Nov 12, 2025
8355a89
Pull in latest WP AI Client code and fully switch to using their prom…
dkotter Nov 13, 2025
85503eb
Store our system instructions in PHP files. Update our helper that ge…
dkotter Nov 13, 2025
7ff9130
Remove guzzle as a dependency as that's coming in from the WP AI Clie…
dkotter Nov 13, 2025
b7a2e71
Merge branch 'trunk' into feature/title-generation-execute
dkotter Nov 13, 2025
4b7b78d
Remove unneeded comment. Add TODO comment
dkotter Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"autoload": {
"psr-4": {
"WordPress\\AI\\": "includes/"
}
},
"files": [
"includes/Helpers.php"
]
},
"autoload-dev": {
"psr-4": {
Expand All @@ -47,7 +50,6 @@
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"phpstan/extension-installer": true

},
"platform": {
"php": "7.4"
Expand Down
151 changes: 119 additions & 32 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading