Hi,
For the foundation model APIs part of your question, I would probably choose between one of the models is very strong at coding. This would either be Open AI Codex Family or Claude Opus. I would probably start by testing Open AI codex Max and Mini against each other and if I think I could get away with the Mini use this as it will be hopefully the best balance between cost and accuracy. If the accuracy isn't good enough then I would then look to compare Open AI codex Max and then go to Claude Opus. Note though that the Open AI codex models aren't currently available in the AI playground but can be used via a responses API.
When it comes to the Assistant, you don't actually control which underlying model it uses. All you can control is whether you allow it to access partner powered models or not (in workspace settings) This controls whether it has access to some partner provided services: https://learn.microsoft.com/en-us/azure/databricks/databricks-ai/partner-powered.
What is more important on Assistant to get more accurate results is your workspace settings, this allows to set things like your coding standards etc, to give the assistant much more context about how it should be used. Assistant Config
I hope this helps.