feat: openai fix
This commit is contained in:
parent
fe10030a68
commit
43b13b8b42
|
|
@ -3,7 +3,7 @@ import OpenAI from 'openai';
|
||||||
import { shuffle } from 'lodash';
|
import { shuffle } from 'lodash';
|
||||||
|
|
||||||
const openai = new OpenAI({
|
const openai = new OpenAI({
|
||||||
apiKey: process.env.OPENAI_API_KEY,
|
apiKey: process.env.OPENAI_API_KEY || 'sk-proj-',
|
||||||
});
|
});
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue