Minor improvements including consistently setting override to True when loading dotenv

This commit is contained in:
Edward Donner
2025-03-01 15:03:18 -05:00
parent 41d958dba6
commit 8338dfc248
26 changed files with 89 additions and 43 deletions

View File

@@ -427,7 +427,12 @@
"with: \n",
"`import httpx` \n",
"`openai = OpenAI(http_client=httpx.Client(verify=False))` \n",
"And if that works, you're in good shape. You'll just have to change the labs in the same way any time you hit this cert error.\n",
"And also please replace: \n",
"`requests.get(url, headers=headers)` \n",
"with: \n",
"`requests.get(url, headers=headers, verify=False)` \n",
"And if that works, you're in good shape. You'll just have to change the labs in the same way any time you hit this cert error. \n",
"This approach isn't OK for production code, but it's fine for our experiments. You may need to contact IT support to understand whether there are restrictions in your environment.\n",
"\n",
"## If all else fails:\n",
"\n",