WindyLab / ConsensusLLM-code

Source code of our paper "Multi-Agent Consensus Seeking via Large Language Models".
MIT License
20 stars 6 forks source link

Codebase not compatible with opeanai==1.2.4 #8

Open federicoceli opened 10 months ago

WZX0Swarm0Robotics commented 9 months ago

You can try this method: pip uninstall openai pip install openai==0.28.1

Reinstall the Python OpenAI library, because the function openai.ChatCompletion called in the program does not support OpenAI libraries with versions greater than 1.0.0."