photum/frontend/services/genaiService.ts
2025-12-03 09:44:21 -03:00

23 lines
605 B
TypeScript

// Gemini API service temporarily disabled - requires API key configuration
// import { GoogleGenAI } from "@google/genai";
// const ai = new GoogleGenAI({ apiKey: process.env.API_KEY });
export interface GeoResult {
street: string;
number: string;
city: string;
state: string;
zip: string;
description: string;
mapLink?: string;
}
// Temporarily disabled - requires API key setup
export const searchLocationWithGemini = async (
query: string
): Promise<GeoResult[]> => {
console.warn(
"Gemini location search is disabled. Please configure API key to enable."
);
return [];
};