Improve loading of config
Crashing if user omits config for LangChain and OpenAI is not ideal, especially for a dev working on parts of the API that don't need those values set. This patch makes those values optional by setting default values and complains if they're not set.