Cook the pumpkin in a saucepan of boiling water for 8–10 minutes or until tender, then drain.
Heat the oil in a saucepan and stir-fry the curry paste, goji berries (if using), onions and peanuts over a medium heat for 3–4 minutes or until fragrant.
Add the green beans and cook for 2–3 minutes. Add the soya milk, soy sauce, sugar or honey, lime juice and pumpkin and warm through for 2–3 minutes, or until the sugar has dissolved, stirring occasionally. Taste and adjust the seasoning. Add the tomatoes in the last few seconds.
Spoon into 4 serving bowls and garnish with a few slices of chilli.