composio icon indicating copy to clipboard operation
composio copied to clipboard

🐛 Bug Report: `sed` command not working perfect on mac (inside various `setup.sh` files of examples)

Open r1jsheth opened this issue 6 months ago • 0 comments

sed command is not behaving correctly in my mac. This is a minor bug, I faced while playing with a couple of examples.

While executing setup.sh of sql_agent example, I correctly entered my OpenAI environment key on terminal but it did not reflect in the newly created .env file

Following line

sed -i "s/^OPENAI_API_KEY=.*$/OPENAI_API_KEY=$OPENAI_API_KEY/" .env

It is part of multiple setup files.

I will also provide a FIX PR for this.

r1jsheth avatar Aug 21 '24 06:08 r1jsheth