In a large skillet, heat the olive oil over medium heat. Toss in the diced onion and cook for about 3-4 minutes, stirring frequently. Once the onion turns translucent, add the red bell pepper, garlic, and chopped chili. Sauté for an additional 2-3 minutes, allowing the flavors to meld.