There is agency, but it's equally irresponsible and unhelpful to act like outside factors are not part of the equation, and that someone who drives a person to suicide is blameless.
Let's say someone jumps out of a burning building and they're killed by the fall. Did they have agency? Responsibility? Should we describe that as "committed suicide"?