Skip to content

Support Laravel AI 1.x - #6

Merged
pushpak1300 merged 4 commits into
5.xfrom
1.x-support
Sep 23, 2026
Merged

pushpak1300 merged 4 commits into
5.xfrom
1.x-support

Conversation

@pushpak1300

@pushpak1300 pushpak1300 commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

This moves the plugin to laravel/ai 1.x. The public API stays the same.

  • laravel/ai dev constraint is now ^1.0, and a conflict rule blocks versions outside 1.x.
  • The default judge model is now gpt-6-luna. PEST_EVALS_LARAVEL_SCORING_MODEL still overrides it.
  • The InstanceGreetingAgent fixture uses 1.x's TextUsage.
  • The fixture agents use #[UseCheapestModel], which keeps --evals runs cheap.

The classification judge is stacked on top of this in #7.

@pushpak1300 pushpak1300 changed the title Add laravel/ai 1.x support Add laravel/ai 1.x support and opt-in classification scoring Sep 22, 2026
@pushpak1300
pushpak1300 added this pull request to stack #8 September 23, 2026 09:37
@pushpak1300 pushpak1300 changed the title Add laravel/ai 1.x support and opt-in classification scoring Support Laravel AI 1.x Sep 23, 2026
@pushpak1300
pushpak1300 merged commit 533670f into 5.x Sep 23, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant