MervinPraison / PraisonAI

PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
https://docs.praison.ai
MIT License
1.05k stars 159 forks source link

Why Hardcoded openAI key... complain #36

Closed HyperUpscale closed 1 month ago

HyperUpscale commented 1 month ago

I use no virtual environment... so it is the default python environment. I install praisonai and run it... regardless which parameter I use - ollama, UI, init, etc... it always asks for openAI API key.

I changed the url and the model in auto.py, cli.py the url_base .. but stil... I tried to set OPENAI_API_KEY=fake . Still doesnt work...

Cant find where is this hardcoded COMPULSORY requirement about this key so I have to use OpenAI

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 dont understand the requirement of a key from my side... There are so many solutions how to see if I want to use OpenAI... but that... Can you make it simple for me and to ask nicely if I want to use openAI or not in the beginning...

HyperUpscale commented 1 month ago

I will find another solution

HyperUpscale commented 1 month ago

@_@