ChatGPT can't make general tasks via API

Hello!

We use ChatGPT 4 via API for general tasks such as translation and duplicate deletion, but we often receive the response: “I am unable to complete the task as I, as an AI language model, do not have the ability to translate languages or delete duplicate words from a list. This task requires specific programming or scripting capabilities which are beyond my current functionalities.”

Is there a way to fix this, or do we need to separate all tasks and hope that ChatGPT 4 will be able to perform them?