Commit Graph
1720 Commits
Author SHA1 Message Date
Shroominic e0341b06a5 pin python version to 3.11 2025-10-18 13:18:59 +08:00
Shroominic be7e1ff4a3 maybe fix 2025-10-18 13:18:59 +08:00
Shroominic 8960501f6b enable sqlite WAL mode 2025-10-18 13:18:59 +08:00
Shroominic 8d9c9d93eb fix tests 2025-10-18 13:18:59 +08:00
Shroominic 6c66a37dfa ruff fmt 2025-10-18 13:18:59 +08:00
Shroominic a33193e4a3 dontations endpoint 2025-10-18 13:18:59 +08:00
redshiftandShroominic da6e0a4c59 Fixed the bug where refund amount is below 1 sat for a sat mint 2025-10-18 13:18:59 +08:00
Shroominic 764bc3d7e8 fix periodic payouts 2025-10-18 13:18:59 +08:00
Shroominic 1557a7c58d remove need for ADMIN_PASSWORD, added in initial setup 2025-10-18 13:18:59 +08:00
Shroominic d69a8f76e1 improved upstream error message handling 2025-10-18 13:18:59 +08:00
Shroominic 78821929a6 v1/providers redirect to v1/providers/ 2025-10-18 13:18:59 +08:00
Shroominic 401728582f filter out openrouter spam models 2025-10-18 13:18:59 +08:00
Shroominic 98aa886477 add models.json batch paste 2025-10-18 13:18:59 +08:00
Shroominic 81ac14bbc5 models admin dashboard 2025-10-18 13:18:59 +08:00
Shroominic 036e04467e v0.1.4-dev 2025-10-18 13:18:59 +08:00
Shroominic 6d6651acbe fix: max_tokens as string should not work 2025-10-18 13:10:09 +08:00
Shroominic 19972bc8fc fix: mints env var not initialized properly 2025-10-18 13:09:50 +08:00
redshift fe2b1846f7 Add EXCLUDED_MODEL_IDS configuration to .env.example
- Document the new EXCLUDED_MODEL_IDS environment variable
- Show example with default excluded model IDs
- Maintain existing configuration structure
2025-10-17 04:12:05 +00:00
redshift 859b31e2bc Update tests to reflect removal of models field from base URL output
- Remove models field from required fields list in root endpoint test
- Add explicit test to ensure models field is not present
- Update test comments to reference issue #184

Related to #184
2025-10-17 04:11:48 +00:00
redshift 80a7f5d2eb Replace hardcoded model exclusions with configurable setting
- Remove hardcoded model ID checks for openrouter/auto and google/gemini-2.5-pro-exp-03-25
- Use settings.excluded_model_ids list for model filtering
- Maintain backward compatibility with existing exclusion logic
- Add proper error handling for settings access
2025-10-17 04:11:46 +00:00
redshift fa0b2834c5 Remove models variable from base URL output
- Remove the deprecated models field from /v1/info endpoint
- The models field was kept for back-compatibility but is now removed
- Users should use the dedicated /v1/models endpoint instead

Fixes #184
2025-10-17 04:10:30 +00:00
redshift d693b559c0 Add configurable excluded model IDs setting
- Add excluded_model_ids field to Settings class
- Support comma-separated list via EXCLUDED_MODEL_IDS env var
- Include default exclusions for openrouter/auto and google/gemini-2.5-pro-exp-03-25
2025-10-17 04:10:25 +00:00
Shroominic 4d09867a9a pin python version to 3.11 2025-10-16 16:03:39 +08:00
shroominicandGitHub 78d99a7462 Merge pull request #194 from Routstr/fix-x-cashu-msat-refund-bug
Fix x cashu msat refund bug
2025-10-16 16:03:12 +08:00
Shroominic 523816db30 maybe fix 2025-10-16 15:37:38 +08:00
Shroominic 7e6e0f806b enable sqlite WAL mode 2025-10-16 11:00:52 +08:00
Kyle Santiago 9096a6c30d Create test_fee_consistency.py 2025-10-13 21:42:33 -04:00
Shroominic 61a0559f8e Add upstream providers management and model integration
- Created migration scripts to establish the `upstream_providers` table and integrate it with the `models` table.
- Enhanced the proxy functionality to support dynamic upstream provider initialization and model resolution.
- Implemented API endpoints for managing upstream providers, including CRUD operations and model fetching.
- Refactored pricing calculations to accommodate upstream provider overrides and ensure accurate cost estimation.
- Updated the admin interface to allow for easy management of upstream providers and their associated models.
2025-10-13 17:17:54 +08:00
Shroominic 4b36fb8d6f change version 2025-10-12 13:03:29 +08:00
Kyle Santiago 6538427782 fix: upstream provider fee not being applied to USD pricing 2025-10-09 19:31:02 -04:00
Shroominic 123353bf60 first step for multi upstream, subclassing 2025-10-07 11:36:52 +08:00
Shroominic 8beab0e28b move functions into class to be overwritten by subclasses 2025-10-06 16:40:36 +08:00
Shroominic 384a149600 fix tests 2025-10-04 20:52:15 +08:00
Shroominic c56a06f3df fix tests 2025-10-04 20:49:53 +08:00
Shroominic 325abad736 ruff fmt 2025-10-04 20:49:45 +08:00
Shroominic 719c091145 ruff fmt 2025-10-04 20:19:04 +08:00
Shroominic c90abe9e79 update version 2025-10-04 20:12:28 +08:00
Shroominic 36d55216fe fix tests 2025-10-04 17:38:05 +08:00
Shroominic f657859249 refactor upstream functions into UpstreamProvider class 2025-10-04 17:38:00 +08:00
Shroominic f8090f5c35 dontations endpoint 2025-10-02 14:55:02 +08:00
shroominicandGitHub b2e5da4b46 Merge pull request #180 from Routstr/sh1ftred-patch-1
Fixed the bug where refund amount is below 1 sat for a sat mint
2025-09-23 12:40:43 +01:00
redshiftandGitHub 729f00caa2 Fixed the bug where refund amount is below 1 sat for a sat mint 2025-09-22 16:55:16 +00:00
Shroominic 54d7a5a247 fix periodic payouts 2025-09-22 17:54:28 +01:00
redshiftandGitHub ecbe3158c0 Merge pull request #179 from Routstr/503-mint-service-bug
Fixed the 503 mint service unavailable bug
2025-09-22 16:27:36 +00:00
redshiftandGitHub bac50f2150 Fixed the 503 mint service unavailable bug
This flag fetch all keysets from the db into the wallet, which is wrong given that we're initiating it for a mint. And load_mint sets the first keyset from all the keysets from the db, irrespective of the unit and the mint. 

Fixes #175
2025-09-22 16:25:02 +00:00
Shroominic 150f3084c1 remove need for ADMIN_PASSWORD, added in initial setup 2025-09-22 16:40:48 +01:00
Shroominic d4e1715613 improved upstream error message handling 2025-09-22 16:36:52 +01:00
Shroominic c2a26a3c00 v1/providers redirect to v1/providers/ 2025-09-22 16:36:35 +01:00
Shroominic 8e0ae6cbc8 filter out openrouter spam models 2025-09-22 13:46:07 +01:00
Shroominic 18a055ee2c add models.json batch paste 2025-09-22 12:58:53 +01:00