For variaos reasons we have to run LLM requests through our own backend. So we cannot rely on @ai-sdk to make the connection. Is there a way to have something custom here? Like instead of providing the ai-sdk we hit our endpoint directly for the requests?
I would like to have the whole state machine and agent machine run on the client.
I hope I made our usecase clear. Happy to clarify further