Fix Some stuff.

This commit is contained in:
yuanhau 2025-07-02 22:01:24 +08:00
parent 4983369219
commit fe9cb6e588
4 changed files with 29 additions and 27 deletions

View file

@ -20,6 +20,7 @@ export default defineEventHandler(async (event) => {
apiKey: doesTheUserHasACustomGroqApiAndWhatIsIt.customApi,
});
} else {
console.log(process.env.GROQ_API_KEY); // DEBUGGING ONLY!!! THIS ONLY CONTAINS THE .ENV KEYS NOT THE USER ONES
groqClient = new Groq({
apiKey: process.env.GROQ_API_KEY,
});