def test_litellm_settings_debug_llm_enabled_but_declined(reset_litellm):
    """Test that litellm settings remain disabled when DEBUG_LLM is enabled but user declines."""
    with (
        mock.patch.dict(os.environ, {'DEBUG_LLM': 'true'}),
        mock.patch('builtins.input', return_value='n'),
    ):
        import openhands.core.logger  # noqa: F401

        importlib.reload(openhands.core.logger)

        assert litellm.suppress_debug_info is True
        assert litellm.set_verbose is False
Test that litellm settings remain disabled when DEBUG_LLM is enabled but user declines.
tests/unit/test_logger_litellm.py