Use AzureOpenai! My company blocked the URL “api.openai.com”. Unfortunately, Crewai insists on calling openai. I need to use from openai import AzureOpenai. How can I use it without it accessing these sites that are not allowed for it…
Use it on another network
It doesn’t work, unfortunately! It doesn’t follow what I ask! Or I’m doing it wrong… lol… sorry! Can you show me an example please?
If you are using AzureOpenAI but its still calling OpenAI then 2 things:
-
Running crewAI on a newtork taht blocks outbound connectivity will have negative effects on the running of your crew. Ask them to unblock what eve is blocked or run it on your own network
-
You have not setup your crew correctly. Have your defined agents correctly? Are you using memory?
I work in a large public company in Brazil, they have a contract with Microsoft and we are required to only have Microsoft URLs! Is there no way to have a customization for crewai to use only “from openai import azure” and necessarily go to the azureOpenai endpoint?