Hide generate commit message button when assistant is disabled (#26519)

Release Notes:

- Git Beta: Fixed the generate commit message button still showing when
the assistant is disabled.
050f5f6723Mikayla Maki committed on 3/12/2025, 5:55:41 AM· committed by GitHubparent2cd970f
3 files changedLine totals unavailable