Heat olive oil in a large pot over medium heat.
Add diced onion and cook 3-4 minutes until translucent.
Add minced garlic and cook 1-2 minutes until fragrant.
Pour in fire-roasted tomatoes, vegetable broth, salt, brown sugar, and red pepper flakes. Stir.
Bring to a boil, then reduce heat, cover, and simmer 10 minutes.
Blend soup with an immersion blender until smooth.
Return soup to a boil over medium-high heat.
Stir in coconut milk or cream.
Add gnocchi and fresh basil. Cook 3-4 minutes until gnocchi float.
Taste and adjust salt and pepper. Ladle into bowls and garnish with extra basil and pepper.