Remove openpipe object from config (#190)

* Remove openpipe object from config

* Remove comment
This commit is contained in:
arcticfly
2023-08-23 23:31:39 -07:00
committed by GitHub
parent 75ad6619a5
commit 87e2339df2

View File

@@ -17,13 +17,7 @@ try {
// Set a dummy key so it doesn't fail at build time
config = {
apiKey: env.OPENAI_API_KEY ?? "dummy-key",
openpipe: {
apiKey: env.OPENPIPE_API_KEY,
baseUrl: "http://localhost:3000/api/v1",
},
};
}
// export const openai = env.OPENPIPE_API_KEY ? new OpenAI.OpenAI(config) : new OriginalOpenAI(config);
export const openai = new OpenAI(config);