I think we should replace all the existing model calling interfaces with a single homogeneous API for all popular providers using Vercel AI SDK: https://sdk.vercel.ai/docs/introduction
benefits
supporting more models from different model providers (including ollama)
Decreases void's workload and responsibility for maintaining and updating each model provider's sdk
integration of any new model provider would be straight forward if available in Vercel ai SDK
Current LLM calling implementations: https://github.com/voideditor/void/blob/main/extensions%2Fvoid%2Fsrc%2Fcommon%2FsendLLMMessage.ts
Proposal
I think we should replace all the existing model calling interfaces with a single homogeneous API for all popular providers using Vercel AI SDK: https://sdk.vercel.ai/docs/introduction
benefits