mirror of
https://github.com/tymur999/braintok.git
synced 2025-08-05 16:20:37 +00:00
feat: .env
This commit is contained in:

committed by
Mark Goltsman

parent
e43645da7c
commit
afae70d151
@@ -1,9 +1,4 @@
|
|||||||
import { OpenAI } from "openai";
|
import { OpenAI } from "openai";
|
||||||
import dotenv from "dotenv";
|
|
||||||
|
|
||||||
dotenv.config();
|
|
||||||
|
|
||||||
console.log(process.env);
|
|
||||||
|
|
||||||
const openAIClient = new OpenAI({
|
const openAIClient = new OpenAI({
|
||||||
apiKey: "OPENAI_API_KEY",
|
apiKey: "OPENAI_API_KEY",
|
||||||
|
Reference in New Issue
Block a user