Eduards commited on
Commit
e55fb57
·
1 Parent(s): feb1950

Fix google api key bug

Browse files
Files changed (1) hide show
  1. app/lib/.server/llm/model.ts +2 -2
app/lib/.server/llm/model.ts CHANGED
@@ -41,9 +41,9 @@ export function getMistralModel(apiKey: string, model: string) {
41
  }
42
 
43
  export function getGoogleModel(apiKey: string, model: string) {
44
- const google = createGoogleGenerativeAI(
45
  apiKey,
46
- );
47
 
48
  return google(model);
49
  }
 
41
  }
42
 
43
  export function getGoogleModel(apiKey: string, model: string) {
44
+ const google = createGoogleGenerativeAI({
45
  apiKey,
46
+ });
47
 
48
  return google(model);
49
  }