we're working on a library to abstract over all the llm providers
there's very few teams that have dealt with the quirks between providers at the scale we have
it's written in effect but will also have a vanilla api
progress is in the opencode repo under packages/llm