Open
Description
Hi, i wanna add a proxy to the Gemini API , how can i make it ? i just found that:
export declare class Gemini extends ToolCallLLM<GeminiAdditionalChatOptions> {
model: GEMINI_MODEL;
temperature: number;
topP: number;
maxTokens?: number | undefined;
session: IGeminiSession;
constructor(init?: GeminiConfig);
get supportToolCall(): boolean;
get metadata(): LLMMetadata;
protected nonStreamChat(params: GeminiChatParamsNonStreaming): Promise<GeminiChatNonStreamResponse>;
protected streamChat(params: GeminiChatParamsStreaming): GeminiChatStreamResponse;
chat(params: GeminiChatParamsStreaming): Promise<GeminiChatStreamResponse>;
chat(params: GeminiChatParamsNonStreaming): Promise<GeminiChatNonStreamResponse>;
complete(params: LLMCompletionParamsStreaming): Promise<AsyncIterable<CompletionResponse>>;
complete(params: LLMCompletionParamsNonStreaming): Promise<CompletionResponse>;
}
where can I set the apikey and baseUrl like the openai? thanks!
Activity