import { t as createBaseWebSearchProviderContractFields } from "../../provider-web-search-contract-fields-aXeDjBzH.js";
//#region extensions/google/web-search-contract-api.ts
function createGeminiWebSearchProvider() {
	const credentialPath = "plugins.entries.google.config.webSearch.apiKey";
	return {
		id: "gemini",
		label: "Gemini (Google Search)",
		hint: "Requires Google Gemini API key · Google Search grounding",
		onboardingScopes: ["text-inference"],
		credentialLabel: "Google Gemini API key",
		envVars: ["GEMINI_API_KEY"],
		placeholder: "AIza...",
		signupUrl: "https://aistudio.google.com/apikey",
		docsUrl: "https://docs.kaijibot.ai/tools/web",
		autoDetectOrder: 20,
		credentialPath,
		...createBaseWebSearchProviderContractFields({
			credentialPath,
			searchCredential: {
				type: "scoped",
				scopeId: "gemini"
			},
			configuredCredential: { pluginId: "google" }
		}),
		createTool: () => null
	};
}
//#endregion
export { createGeminiWebSearchProvider };
