@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
16 lines (15 loc) • 519 B
TypeScript
import { ILogger } from '../../../types/common';
import { OpenRouterProviderConfig } from './types';
export declare class OpenRouterConfig {
private config;
private logger;
constructor(config: OpenRouterProviderConfig, logger: ILogger);
get apiKey(): string;
get model(): string;
get baseUrl(): string;
get httpReferer(): string | undefined;
get xTitle(): string | undefined;
getApiUrl(endpoint: string): string;
getHeaders(): Record<string, string>;
getLogger(): ILogger;
}