[Bug]: cannot use azure credentials on mac
Describe the bug
I run studio (v 0.0.23a). for configuration , i did what is describe in issue #1151, which is closed but i got the same error: openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
I wonder if config works on mac
Steps to reproduce
- autogenstudio ui --port 8081
- select agent
- remove all models
- add one model with azure params
- start default workflow in playground
- see error
Expected Behavior
the workflow should work
Screenshots and logs
No response
Additional Information
No response
@victordibia
@borisko123 ,
Can you confirm that you have added the model to both user proxy and assistant? It should be the only models for both agents
Also, the LLM should be configured and confirmed on the workflow. Also ensure that the azure workflow is selected in the playground
yes , both agents are configured. please advise how to exactly configure them , using azure credentials
On Thu, Jan 11, 2024 at 2:03 AM Victor Dibia @.***> wrote:
@borisko123 https://github.com/borisko123 ,
Can you confirm that you have added the model to both user proxy and assistant? It should be the only models for both agents
— Reply to this email directly, view it on GitHub https://github.com/microsoft/autogen/issues/1196#issuecomment-1885952836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOOCDSWWMBYU6RACBLKDFLYN4T6DAVCNFSM6AAAAABBVA7NWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVHE2TEOBTGY . You are receiving this because you were mentioned.Message ID: @.***>
Hi @borisko123 ,
from #1151
For azure you will need to set the following
- model - which is the deployment id or engine
- api key .. from azure
- base url .. from azure
- model type .. - "azure"
- api version ... which must be what you get from azure.
Also note that you should only have this model in your list of models. Can you confirm you have set these params?