UNPKG

@kdump/code-cli-any-llm

Version:

> A unified gateway for the Gemini, opencode, crush, and Qwen Code AI CLIs

16 lines (15 loc) 746 B
import { EnhancedProviderConfig, IEnhancedLLMProvider, ModelCapabilities, TextBufferingConfig } from './enhanced-provider.types'; import { ToolFormat } from '@/transformers/enhanced/tool-formatter.types'; export declare class EnhancedOpenAIProvider implements IEnhancedLLMProvider { private readonly config; constructor(config: EnhancedProviderConfig); detectToolFormat(): ToolFormat; getModelCapabilities(): ModelCapabilities; shouldUseZhipuOptimizations(): boolean; shouldDisableStreamingForTools(): boolean; getTextBufferingConfig(): TextBufferingConfig | null; transformRequest(request: any): any; transformResponse(response: any): any; private getCurrentModelConfig; private isLikelyZhipuModel; }