Skip to content

Add provider-priority ordering and runtime fallback#239

Open
georgestephanis wants to merge 3 commits into
WordPress:trunkfrom
georgestephanis:feature/provider-priority-fallback
Open

Add provider-priority ordering and runtime fallback#239
georgestephanis wants to merge 3 commits into
WordPress:trunkfrom
georgestephanis:feature/provider-priority-fallback

Conversation

@georgestephanis
Copy link
Copy Markdown

Tying in to https://core.trac.wordpress.org/ticket/65358 -- felt like it'd be better to offer the PR upstream instead of in the core repo?

Anyway, this has been largely aided by Claude and Copilot, based on an issue and problem I was facing (Detailed upstream, but --) frustration that I can't manage prioritization of use between multiple providers.

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: georgestephanis <georgestephanis@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

❌ Patch coverage is 95.23810% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.17%. Comparing base (99a65e8) to head (915b0c6).

Files with missing lines Patch % Lines
src/Builders/PromptBuilder.php 94.79% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              trunk     #239      +/-   ##
============================================
+ Coverage     88.12%   88.17%   +0.04%     
- Complexity     1213     1235      +22     
============================================
  Files            60       60              
  Lines          3934     3990      +56     
============================================
+ Hits           3467     3518      +51     
- Misses          467      472       +5     
Flag Coverage Δ
unit 88.17% <95.23%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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