agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

Agent Zero not working with Azure Open API Key and endpoint

Open praveedesai opened this issue 9 months ago • 2 comments

Hi , I deployed the agent- zero image in Azure container configuring below Environment variables.

API_KEY_OPENAI_AZURE OPENAI_AZURE_ENDPOINT OPENAI_API_VERSION TOKENIZERS_PARALLELISM=true PYDEVD_DISABLE_FILE_VALIDATION=1 WEB_UI_PORT=50001 USE_CLOUDFLARE=false

getting error 401

Image

I got the fix for this.

Maintain .env file with below key value details in it.

API_KEY_OPENAI_AZURE OPENAI_AZURE_ENDPOINT OPENAI_API_VERSION

But having issue that, Deployment not found error.

praveedesai avatar Mar 27 '25 13:03 praveedesai

This is happening also for normal OpenAi key. I think this bug is related to the latest version as the previous one didn't have this problem.

rikkooo avatar Mar 30 '25 20:03 rikkooo

I got the fix for this.

Maintain .env file with below key value details in it.

API_KEY_OPENAI_AZURE OPENAI_AZURE_ENDPOINT OPENAI_API_VERSION

But having issue that, Deployment not found error.

praveedesai avatar Apr 01 '25 04:04 praveedesai