The code returns the following error:
A.string is not a function at (@ai-sdk/gateway)
Revise the code to address the error.
I was previewing: /