Fix: Use BLABLADOR_API_KEY for Helmholtz endpoint

#1
Files changed (1) hide show
  1. app/api/text-generation/route.ts +1 -1
app/api/text-generation/route.ts CHANGED
@@ -3,7 +3,7 @@ import { createOpenAI } from '@ai-sdk/openai';
3
 
4
  // Create an OpenAI API client (that's edge friendly!)
5
  const customOpenAI = createOpenAI({
6
- apiKey: process.env.HELMHOLTZ_API_KEY || '',
7
  baseURL: 'https://api.helmholtz-blablador.fz-juelich.de/v1',
8
  });
9
 
 
3
 
4
  // Create an OpenAI API client (that's edge friendly!)
5
  const customOpenAI = createOpenAI({
6
+ apiKey: process.env.BLABLADOR_API_KEY || '',
7
  baseURL: 'https://api.helmholtz-blablador.fz-juelich.de/v1',
8
  });
9