Skip to content

fix: handle wrapped x402 premium payment failures with safer fallback#34

Open
tsubasakong wants to merge 1 commit intoBlockRunAI:mainfrom
tsubasakong:split/premium-payment-fallback
Open

fix: handle wrapped x402 premium payment failures with safer fallback#34
tsubasakong wants to merge 1 commit intoBlockRunAI:mainfrom
tsubasakong:split/premium-payment-fallback

Conversation

@tsubasakong
Copy link

Summary

  • treat wrapped x402 merchant-proxy payment failures as provider errors that can fallback
  • improve session/profile fallback routing to avoid sticky premium routing after paid-model failure
  • add regression tests for wrapped x402 error fallback and profile re-routing

Test Plan

  • bun run test/premium-compat.ts
  • npm run typecheck

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

Comments