Linux setup instructions, VSCode alternative, improved .env loading

This commit is contained in:
Edward Donner
2024-12-27 23:25:47 +00:00
parent 01ccd4cf62
commit 90f3fe774a
5 changed files with 199 additions and 5 deletions

View File

@@ -49,7 +49,7 @@
"source": [
"# Initialize and constants\n",
"\n",
"load_dotenv()\n",
"load_dotenv(override=True)\n",
"api_key = os.getenv('OPENAI_API_KEY')\n",
"\n",
"if api_key and api_key.startswith('sk-proj-') and len(api_key)>10:\n",