Before running the project, you need to set up your environment:
-
Export Your OpenAI API Key
Set the
OPENAI_API_KEY
environment variable to your OpenAI API key. This is required for the application to authenticate with OpenAI's services.export OPENAI_API_KEY='your_api_key_here'
-
Build your project
go build
-
Run your project
./gitai show me the logs