UMass-Foundation-Model / Co-LLM-Agents

[ICLR 2024] Source codes for the paper "Building Cooperative Embodied Agents Modularly with Large Language Models"
https://vis-www.cs.umass.edu/Co-LLM-Agents/
209 stars 29 forks source link

when i run the scripts code, I alwys got the following:No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. #29

Open xiaohai-AI opened 2 months ago

xiaohai-AI commented 2 months ago

but Actually I already set the enviroment variable and echo$OPENAI_API_KEY output the right value sk-XXXXXXXXXXXXXXXXXXX