23 lines
605 B
TypeScript
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 [];
|
|
};
|