This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { GoogleGenAI, Type } from "@google/genai"; | |
import type { RiskReport } from '../types'; | |
const API_KEY = process.env.API_KEY; | |
if (!API_KEY) { | |
throw new Error("API_KEY environment variable not set."); | |
} | |
const ai = new GoogleGenAI({ apiKey: API_KEY }); |