Saute onion in oil for 5 minutes. Add chicken and brown. Add garlic and salt and stir well. Add tomatoes, both chiles, oregano and cumin. Bring to a simmer for 30 minutes. Add beans and simmer for 5 minutes. Serve with chips or tortillas and sour cream.