feat: openai fix

This commit is contained in:
Nevo David 2024-05-24 19:22:07 +07:00
parent fe10030a68
commit 43b13b8b42
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import OpenAI from 'openai';
import { shuffle } from 'lodash';
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
apiKey: process.env.OPENAI_API_KEY || 'sk-proj-',
});
@Injectable()