Python: Function Calling Error when Using APIM Managed Azure OpenAI | Vectle