100 Commits
Author SHA1 Message Date
Shroominic 9560050946 test: type routstr topup async client mock 2026-03-13 19:08:45 +08:00
Shroominic dd88e9b172 test: annotate admin balance integration session 2026-03-13 18:51:30 +08:00
Shroominic e31b45fa9e test: type dummy async client exit hook 2026-03-13 18:51:30 +08:00
Shroominic 1ed8b29d64 style: format provider balance placeholder 2026-03-13 18:51:30 +08:00
Shroominic 59f8d31719 Handle Routstr admin balance timeouts 2026-03-13 18:45:18 +08:00
Shroominic 93a368b1a2 fix(admin): handle routstr balance timeouts 2026-03-13 18:39:06 +08:00
Shroominic d3dd346853 fix: remove unrelated balance endpoint changes 2026-03-13 18:20:08 +08:00
Shroominic 0198569a9a fix: retry transient Routstr top-up invoice failures 2026-03-13 18:17:19 +08:00
Shroominic 7e648cb5c2 fix: use sats for Routstr top-up amounts 2026-03-13 17:46:57 +08:00
Shroominic deb75624f3 fix: show Routstr provider balances in sats 2026-03-13 17:36:52 +08:00
Shroominic 4aa57959bf prettier 2026-01-31 07:38:05 +08:00
Shroominic 1af39f043f fix tests 2026-01-31 07:37:39 +08:00
Shroominic 1751cd3b47 remove deprecated htmx endpoints 2026-01-31 07:23:58 +08:00
Shroominic b1facd58d5 rm test checking unused functions 2026-01-31 07:21:44 +08:00
Shroominic 6288d6fef7 more unused code lmao 2026-01-31 07:09:04 +08:00
Shroominic a1223ad610 rm unused code lol 2026-01-31 07:08:54 +08:00
Shroominic c75f170ed0 Refactor: Move Discovery and Nostr logic to routstr/nostr package 2026-01-31 06:59:27 +08:00
Shroominic c6e401c3f6 Merge branch 'main' into v0.3.0
# Conflicts:
#	routstr/proxy.py
2026-01-30 10:54:35 +08:00
Shroominic 248937e05f comment out NEXT_PUBLIC_API_URL by default 2026-01-30 10:48:37 +08:00
Shroominic ace8cf960c prevent payout race condition 2026-01-30 10:05:37 +08:00
Shroominic 3396e0cd47 fix recurring payout error 2026-01-30 09:59:59 +08:00
Shroominic 31898192b2 added missing delete button for custom models 2026-01-29 13:05:56 +08:00
Shroominic e50facc835 prettier 2026-01-29 11:05:46 +08:00
Shroominic 55dc485705 Merge branch 'v0.3.0' into batch-override-models 2026-01-29 11:03:43 +08:00
Shroominic 80559a57d5 fix linting 2026-01-29 10:55:07 +08:00
Shroominic 8e9f6647e7 batch override models 2026-01-29 09:08:26 +08:00
Shroominic 73e3d34623 fix provider model pricing 2026-01-29 08:50:17 +08:00
Shroominic c8f8857f03 fckng prettier again 2026-01-28 18:12:54 +08:00
Shroominic c9650441bb fix build error 2026-01-28 18:11:07 +08:00
Shroominic 5ce9c2217f fix fmt 2026-01-28 18:04:56 +08:00
Shroominic 89b8488ab8 prettier 2026-01-28 17:58:24 +08:00
Shroominic 2ee917fa31 fix not being able to add multiple custom models when provider does not have Provided Models 2026-01-28 17:55:06 +08:00
Shroominic 51c3e5dcd7 fix migrations 2026-01-25 22:58:36 +08:00
Shroominic 788075f656 fix db migration 2026-01-25 22:44:13 +08:00
Shroominic 0bbcacd186 fix: allow multiple provider keys per base url
Use a composite unique constraint and query filters so providers
can share base URLs with distinct API keys.
2026-01-25 22:18:39 +08:00
Shroominic 6d5b811c20 feat(ui): add preset selector to model override modal
Add the same preset selector that exists in the custom model creation
modal to the model override modal. This allows users to apply pricing
and settings from OpenRouter presets when creating overrides.

- Show preset selector for override mode (not just create mode)
- Preserve original model ID when applying preset in override mode
- Add contextual help text for override vs create mode

Closes #324
2026-01-25 22:04:51 +08:00
Shroominic 60e0eebd05 tiny docs fixes 2026-01-24 21:16:58 +08:00
Shroominic b2ef15a406 fix readme 2026-01-24 18:12:32 +08:00
Shroominic 58c4d3bf5f improved readme 2026-01-24 18:08:45 +08:00
Shroominic 2210e9be6c rm old docs 2026-01-24 17:55:50 +08:00
Shroominic 9c66789665 improved docs 2026-01-24 17:55:45 +08:00
Shroominic f290534df4 bump v0.3.0 2026-01-23 09:49:49 +08:00
Shroominic 8d3c064b29 ruff fix 2026-01-23 09:47:48 +08:00
Shroominic 24015ebec1 Revert "Merge remote-tracking branch 'origin/mock-upstream-with-testnut-mint' into v0.2.2"
This reverts commit 5a4ba60072, reversing
changes made to eed5bc5b04.
2026-01-13 06:31:24 +08:00
Shroominic 9229b87b70 optimize price fetching 2026-01-10 17:37:05 +08:00
Shroominic 39657ed64f reset reserved balance on startup 2026-01-09 17:36:04 +08:00
Shroominic 493b4f0f1f urgent reserved balance fix 2026-01-09 17:32:35 +08:00
Shroominic cb36189db3 fmt 2026-01-09 17:04:09 +08:00
Shroominic d2487f42b0 fix tests 2026-01-09 17:02:35 +08:00
Shroominic 5255fce7b2 todo comment 2026-01-09 16:55:24 +08:00
Shroominic ca7e8bec71 fmt 2026-01-09 16:53:25 +08:00
Shroominic c4cc09d61e fix provider balance not displaying when 0 2026-01-09 16:50:10 +08:00
Shroominic ee668ee93b handle specific errors eg deactivate ppq on insufficient balance 2026-01-09 16:49:03 +08:00
Shroominic cf8b990fc7 fix specify error codes retry 2026-01-09 16:10:14 +08:00
Shroominic 78dd74845b fix merge 2026-01-07 17:44:28 +01:00
Shroominic e7f4c98475 ranked provider fallback on upstream errors 2026-01-07 17:39:05 +01:00
Shroominic 21d363f6aa bump v0.2.2 2026-01-06 19:26:10 +01:00
Shroominic 1e21dce735 change to warning log 2026-01-06 18:23:01 +01:00
Shroominic 50eabafa57 remove performance tests due to unpredictable behaviour 2026-01-05 12:12:04 +01:00
Shroominic d192a6a6b4 fix not enough inputs to melt bug 2026-01-05 00:34:58 +01:00
Shroominic 7d829af681 fix types 2026-01-05 00:06:53 +01:00
Shroominic 57bf1b68d9 bump delay to make sure its not taking more time to reset 2026-01-05 00:04:58 +01:00
Shroominic 00d0415518 lint pls 2026-01-04 23:40:17 +01:00
Shroominic e8585b276f fix typing 2026-01-04 23:39:55 +01:00
Shroominic 4b5e911435 rm not needed generic 2026-01-04 23:39:14 +01:00
Shroominic 761aabfec3 fix linting 2026-01-04 23:38:14 +01:00
Shroominic f0c45a7ce4 fix other potential reserved balance problems 2026-01-04 23:35:26 +01:00
Shroominic fc8ccf63ba finalize_without_usage when client disconnects 2026-01-04 23:34:29 +01:00
Shroominic 9e9bc5bff8 fix pytests 2026-01-03 22:49:46 +01:00
Shroominic 6d780ef96d feat: disable provider discovery by default 2026-01-03 22:12:55 +01:00
Shroominic b70b94b9b4 feat: add admin password warning log 2026-01-03 22:12:23 +01:00
Shroominic 5a4ba60072 Merge remote-tracking branch 'origin/mock-upstream-with-testnut-mint' into v0.2.2 2025-12-28 11:18:08 +01:00
Shroominic f4b014cb05 Merge remote-tracking branch 'origin/examples' into openai-responses-api 2025-12-27 21:39:19 +01:00
Shroominic ea655b748b optimize startup time 2025-12-26 12:33:42 +01:00
Shroominic 525476ccfa fix alias not displaying correctly 2025-12-25 22:34:52 +01:00
Shroominic b54812cb04 fix: alias_id not displayed correctly by dashboard 2025-12-25 22:28:26 +01:00
Shroominic ee508cbb3a rm model cleanup 2025-12-25 21:50:09 +01:00
Shroominic 0c61fdee07 ruff format 2025-12-25 21:48:20 +01:00
Shroominic b9418db31f rm model cleanup task 2025-12-25 21:47:17 +01:00
Shroominic 71e7c2171b add missing migration 2025-12-25 19:36:26 +01:00
Shroominic a3e8d5fd38 ignore cloudflare headers from logs 2025-12-24 15:09:03 +01:00
Shroominic 41fd2e2dfc fix typing 2025-12-24 12:12:32 +01:00
Shroominic 2c404c66d6 ruff fix 2025-12-24 12:10:51 +01:00
Shroominic 0fa3e77f9a more examples for devs and testing 2025-12-24 12:09:50 +01:00
Shroominic dd4ed7541f undo 43e9732 2025-12-22 11:31:19 +01:00
Shroominic cc42534a97 manual alias due to openrouter api bug 2025-12-22 11:30:51 +01:00
Shroominic e39742c429 rm completion_image pricing with manual overrides 2025-12-22 09:35:23 +01:00
Shroominic 301dd81215 include openrouters upstream_inference_cost + manually add gemini image completion cost 2025-12-21 09:55:25 +01:00
Shroominic d41c214d9e fix typing 2025-12-20 14:02:56 +01:00
Shroominic ec0fcfb48b mock-upstream-with-testnut-mint 2025-12-20 13:54:14 +01:00
Shroominic 590fb4bc2c ruff fix 2025-12-11 14:13:41 +08:00
Shroominic 5db9abc3ce remove flaky wallet tests 2025-12-11 14:12:34 +08:00
Shroominic 547365894d add simple test 2025-12-11 13:58:57 +08:00
Shroominic 52601f89bd ruff fix 2025-12-11 13:28:28 +08:00
Shroominic c0176a5274 Merge branch 'v0.2.1' into embeddings-integration 2025-12-11 13:06:20 +08:00
Shroominic 329d22363f Merge branch 'v0.2.1' into embeddings-integration 2025-12-11 12:59:41 +08:00
Shroominic 29129f8953 prettier 2025-12-11 12:56:29 +08:00
Shroominic c97c74a2ee cleanup logs 2025-12-11 12:55:01 +08:00
Shroominic 1e37c42ea0 fix ui build 2025-12-11 12:51:27 +08:00
Shroominic 4c7887fa4e update algorithm logs 2025-12-11 11:04:00 +08:00