I ran into this issue and I want your help. I've experimented with phoenix and found out that it doesn't send traces when we directly import acompletion and aembedding functions from litellm module; however, when I import litellm and use litellm.aecompletion and litellm.aembedding it works. However, using the latter approach would break our tests. So, I'm not sure what is the right approach.
I'm not quite sure what is the diff between direct import acompletion and importing module and calling one of its functions. Is it initialization? Is there monkey patching somewhere in the process?