mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-09 02:54:37 +00:00
Tests for previously untested methods: - _extract_upstream_error_message (5 tests): JSON error, text error, empty body - on_upstream_error_redirect (2 tests): 402, 429 status codes - _fold_cache_into_input_tokens (2 tests): no cache, preserves total - get_cached_models / get_cached_model_by_id (2 tests) - get_x_cashu_cost (2 tests): with/without usage data - get_balance / create_account / refresh_models_cache / fetch_models (4 tests) ruff: clean, mypy: clean, 884 pass, 10 RED, 14 skip