UNPKG

giga-code

Version:

A personal AI CLI assistant powered by Grok for local development.

20 lines (19 loc) 591 B
import { ProviderName } from './provider-models'; export interface ModelInfo { id: string; name?: string; description?: string; provider?: string; context_length?: number; } export interface ModelFetchResult { success: boolean; models: string[]; error?: string; allModels?: ModelInfo[]; } export declare function fetchProviderModels(provider: ProviderName, apiKey: string): Promise<ModelFetchResult>; export declare function fetchModelsWithFallback(provider: ProviderName, apiKey: string): Promise<{ models: string[]; allModels?: ModelInfo[]; }>;