<prompt> Translate the following text to SwahiliBut long-standing management problems, including weaknesses in strategic planning, had threatened the agencys ability to adapt to changing demands.  <response>: Lakini matatizo ya muda mrefu ya usimamizi, ikiwa ni pamoja na udhaifu katika mipango ya kimkakati, yalikuwa yametishia uwezo wa shirika hilo la kukabiliana na mahitaji yanayobadilika. 