π OpenHands: AI-Driven Development
Update initial from $20 to $10 (#11624)
Tim O'Farrell898c3501dd28
diff --git a/enterprise/server/constants.py b/enterprise/server/constants.pyindex cceb42d634..74176d19a1 100644--- a/enterprise/server/constants.py+++ b/enterprise/server/constants.py@@ -50,7 +50,7 @@ SUBSCRIPTION_PRICE_DATA = {},}-DEFAULT_INITIAL_BUDGET = float(os.environ.get('DEFAULT_INITIAL_BUDGET', '20'))+DEFAULT_INITIAL_BUDGET = float(os.environ.get('DEFAULT_INITIAL_BUDGET', '10'))STRIPE_API_KEY = os.environ.get('STRIPE_API_KEY', None)STRIPE_WEBHOOK_SECRET = os.environ.get('STRIPE_WEBHOOK_SECRET', None)REQUIRE_PAYMENT = os.environ.get('REQUIRE_PAYMENT', '0') in ('1', 'true')diff --git a/enterprise/tests/unit/test_saas_settings_store.py b/enterprise/tests/unit/test_saas_settings_store.pyindex 6a01eb8213..50d7ab0b12 100644--- a/enterprise/tests/unit/test_saas_settings_store.py+++ b/enterprise/tests/unit/test_saas_settings_store.py@@ -243,7 +243,7 @@ async def test_update_settings_with_litellm_default(# Check that the URL and most of the JSON payload match what we expectassert call_args['json']['user_email'] == '[email protected]'assert call_args['json']['models'] == []- assert call_args['json']['max_budget'] == 20.0+ assert call_args['json']['max_budget'] == 10.0assert call_args['json']['user_id'] == 'user-id'assert call_args['json']['teams'] == ['test_team']assert call_args['json']['auto_create_key'] is True