@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and
23 lines (22 loc) • 1.04 kB
TypeScript
import { type Schema, type LanguageModelV1 } from "ai";
import type { ZodUnknownSchema } from "../types/typeAliases.js";
import type { AIProviderName } from "../core/types.js";
import type { StreamOptions, StreamResult } from "../types/streamTypes.js";
import { BaseProvider } from "../core/baseProvider.js";
/**
* Google AI Studio provider implementation using BaseProvider
* Migrated from original GoogleAIStudio class to new factory pattern
*/
export declare class GoogleAIStudioProvider extends BaseProvider {
constructor(modelName?: string, sdk?: unknown);
protected getProviderName(): AIProviderName;
protected getDefaultModel(): string;
/**
* 🔧 PHASE 2: Return AI SDK model instance for tool calling
*/
protected getAISDKModel(): LanguageModelV1;
protected handleProviderError(error: unknown): Error;
protected executeStream(options: StreamOptions, analysisSchema?: ZodUnknownSchema | Schema<unknown>): Promise<StreamResult>;
private getApiKey;
}
export default GoogleAIStudioProvider;