9qeklajc
69f19ff991
defensive cooldown
2026-07-15 01:43:00 +02:00
9qeklajc
8b942f3c14
show mint status correclty
2026-07-15 01:00:32 +02:00
9qeklajc
09e1c7bf2d
better cooldown
2026-07-15 00:10:17 +02:00
9qeklajc
cc2a96e2ef
make trusted mint available for lightning topup
2026-07-14 21:59:43 +02:00
9qeklajc
93ab1d927b
mint cooldown
2026-07-14 01:55:35 +02:00
9qeklajc
39970d8bee
clean up
2026-07-14 01:23:14 +02:00
9qeklajc
d7c401d204
primary mint fallback
2026-07-14 01:10:23 +02:00
9qeklajc
d44b98fd0d
fix fallback
2026-07-14 00:54:44 +02:00
9qeklajc
6fa3610423
fix: account for mint fees in balance checks
2026-07-14 00:11:27 +02:00
9qeklajc
65702171e4
fix: harden mint fallback and refund recovery
2026-07-13 23:37:43 +02:00
9qeklajc
65abcbce92
fix: harden mint fallback and refund recovery
2026-07-13 23:33:56 +02:00
9qeklajc
40153d4c36
fix: report cashu transaction persistence
2026-07-12 15:07:31 +02:00
9qeklajc
40bf976fbc
fix: recreate mint URL migration
2026-07-12 15:04:43 +02:00
9qeklajc
eae20f04a7
Merge branch 'main' into fix/mint-rate-limit-and-fallback
2026-07-12 15:02:07 +02:00
9qeklajc and GitHub
dc833d9f5f
Merge pull request #602 from Routstr/fix/auto-topup-transaction-recovery
...
fix: make auto-topup tokens recoverable
2026-07-12 14:57:03 +02:00
9qeklajc and GitHub
9eacabde0e
Merge pull request #604 from Routstr/revert-600-fix/retry-cashu-transaction-storage
...
Revert "Retry Cashu transaction storage on transient DB failures"
2026-07-12 14:49:28 +02:00
9qeklajc and GitHub
73f52ef1fd
Revert "Retry Cashu transaction storage on transient DB failures"
2026-07-12 14:47:30 +02:00
9qeklajc
a5cee796c9
fix: make auto-topup tokens recoverable
2026-07-12 14:45:17 +02:00
9qeklajc and GitHub
aabf08a930
Merge pull request #600 from Routstr/fix/retry-cashu-transaction-storage
...
Retry Cashu transaction storage on transient DB failures
2026-07-12 14:21:40 +02:00
9qeklajc
07c15de106
better retry logic
2026-07-12 14:12:29 +02:00
9qeklajc
aea24d23da
fix: retry Cashu transaction storage
2026-07-12 13:29:09 +02:00
9qeklajc and GitHub
e100c77288
Merge pull request #599 from Routstr/fix/cost-calculation-breakdown
...
Fix input/output cost breakdown calculation
2026-07-12 13:25:08 +02:00
9qeklajc
057a752b1e
fix cost breakdown calculation
2026-07-12 13:07:05 +02:00
9qeklajc and GitHub
5daa2602f5
Merge pull request #593 from Routstr/fix/security-pip-deps
...
Fix/security pip deps
2026-07-11 12:28:31 +02:00
9qeklajc
acb630f6cf
refactor: adapt mint throttling to 429 responses
2026-07-10 23:54:05 +02:00
9qeklajc
1230d528de
fix: avoid rate limiting balance proof checks
2026-07-10 23:46:09 +02:00
9qeklajc and GitHub
d80912b10e
Merge pull request #589 from Routstr/fix/provider-scoped-model-overrides
...
Fix provider-scoped model overrides
2026-07-10 22:44:16 +02:00
9qeklajc
8f087bf07a
Merge branch 'main' into fix/provider-scoped-model-overrides
2026-07-10 22:00:25 +02:00
9qeklajc
d23c90b939
fix: type wallet test fixture
2026-07-10 21:50:50 +02:00
9qeklajc
d8db2a3051
fix: harden mint rate limiting and fallback
2026-07-10 21:46:56 +02:00
9qeklajc
0bbbf902cd
Merge origin/main into fix/mint-rate-limit-and-fallback
2026-07-10 21:12:54 +02:00
9qeklajc
7ed18a9d02
fix: per-mint rate limiting, trusted-mint fallback, and retry factory fix
2026-07-10 20:43:07 +02:00
9qeklajc and GitHub
744321153f
Merge pull request #585 from Routstr/fix-payout
...
fix payout
2026-07-10 20:37:10 +02:00
9qeklajc
a1118a510d
Merge branch 'main' into fix-payout
2026-07-08 22:40:03 +02:00
9qeklajc and GitHub
27dedfdf77
Merge pull request #595 from Routstr/remove-require-parameters
...
Remove require_parameters injection from OpenRouter provider
0.4.4
2026-07-08 16:47:07 +02:00
redshift
ebb2267844
Remove require_parameters injection from OpenRouter provider
...
The prepare_request_body override in OpenRouterUpstreamProvider injected
provider.require_parameters=true on tool-use requests. This is no longer
needed. Removed the override, the now-unused json import, and the
corresponding test suite.
2026-07-08 17:01:52 +05:30
9qeklajc
7c2e2ce512
Merge branch 'main' into fix/security-pip-deps
2026-07-07 17:22:58 +02:00
9qeklajc
89b93fde98
resolve rest
2026-07-07 17:22:48 +02:00
9qeklajc and GitHub
c48693973b
Merge pull request #594 from Routstr/update-lock-file
...
update lock file
2026-07-07 16:45:23 +02:00
9qeklajc
407f4745a0
update lock file
2026-07-07 16:29:00 +02:00
9qeklajc and GitHub
806771df13
Merge pull request #591 from Routstr/fix/refund-race-condition
...
fix(wallet): return 425 when refund is pending, not 404
2026-07-07 16:27:00 +02:00
9qeklajc and GitHub
3c1b6d5f17
Merge pull request #578 from Routstr/token-error-code
...
fix: specific, sanitized errors for failed Cashu token redemption
2026-07-07 15:59:49 +02:00
redshift
a9d5a52b32
fix(wallet): return 425 when refund is pending, not 404
...
The X-Cashu refund endpoint raised 404 "Refund not found" when the
"in" transaction existed with a request_id but the "out" (refund)
transaction had not been written yet. This is a timing race: the
endpoint is polled while the upstream request is still in flight,
before send_refund() has minted and stored the refund token.
The 404 was indistinguishable from a genuinely-missing refund, so
clients had no signal that retrying would succeed — leading to
stranded refunds when clients gave up.
Replace the third 404 branch with 425 Too Early + Retry-After: 2.
The two earlier 404 branches (no "in" row, no request_id) remain 404
since those genuinely mean no refund will ever exist.
Also adds debug logging on all three not-found/pending branches so
the race is no longer invisible to operators (middleware does not log
request headers).
Adds unit tests for the new 425 pending path and the no-request_id
404 path.
Refs: refund-race-condition
2026-07-07 21:49:32 +08:00
9qeklajc and GitHub
b36bb56a30
Merge pull request #571 from Routstr/fix/security-pip-deps
...
fix(deps): patch reachable pip security advisories (aiohttp, pyjwt, python-multipart, pydantic-settings)
2026-07-07 14:40:09 +02:00
9qeklajc
9b4b4d734f
Merge branch 'main' into fix/security-pip-deps
2026-07-07 14:39:36 +02:00
9qeklajc and GitHub
97172641f8
Merge pull request #581 from jeroenubbink/fix/generic-provider-pricing
...
Resolve generic provider pricing instead of fabricating it
2026-07-07 14:38:32 +02:00
9qeklajc
46bbba7027
resolve reivews
2026-07-07 14:29:39 +02:00
9qeklajc
edfb0f127c
fix provider-scoped model overrides
2026-07-07 13:59:23 +02:00
9qeklajc
65ccf83dbd
update lock file
2026-07-07 12:30:02 +02:00
Jeroen Ubbink and Claude Opus 4.8
2baea4149e
fix(upstream): break OpenRouter bare-tail ties on combined token cost
...
The bare-tail tie-break ranked candidates by prompt price alone, so two
entries sharing a tail where one is cheaper on prompt but far dearer on
completion could resolve to the entry that undercharges output-heavy
traffic — contradicting the "highest-priced wins for money safety" promise.
Rank by the combined prompt + completion per-token cost instead, so the
choice stays deterministic and money-safe whichever way traffic leans. As
before there are zero bare-tail collisions in the live feed, so this changes
no resolved price today; it only governs the latent case.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-07 12:25:09 +02:00